Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have the following SharePoint 2010 site structure:

  • Root (SiteCollection)
    • Queue (List)
    • Subsite (Site)
      • Target (List)

I'm using the custom SPD activities from iLoveSharePoint to create a site based on a template in the "Subsite" whenever an item is created in the "Queue". This works fine, however, now i need to create a new list item in the "Target" list aswell.

Since the workflow is running on the "Queue" list, it seems that I cannot access the "Target" list because it's in a different (sub) site.

Any ideas how I can resolve this issue?

share|improve this question
    
I'm thinking this question may be exactly the same as yours: stackoverflow.com/questions/967333/… –  Kit Menke Aug 11 '11 at 14:02
    
I couldn't find anything similar to my problem, but the one you linked is the same indeed (for 2007). Maybe you can merge or link these questions? –  int32 Aug 12 '11 at 8:13

1 Answer 1

up vote 1 down vote accepted

I agree with Kit that your question in the same as the one he references from stackoverflow, but I'll throw out an idea that wasn't offered for that question.

iLoveSharePoint includes a custom activity for executing a PowerShell script...it's certainly feasible to leverage that to do just about anything you can do with custom code...i.e. use that instead of building a custom SPD activity as the answer to the stackoverflow question suggests.

For reference: http://ilovesharepoint.codeplex.com/wikipage?title=Execute%20PowerShell%20Script%20Action&referringTitle=Workflow%20Actions%20for%20SharePoint%20Designer%202010

share|improve this answer
    
I'd prefer a no-code solution, but this sounds like a very good idea. thank you very much :-) –  int32 Aug 12 '11 at 8:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.