Create Folder

by bladec59 » Tue Apr 11, 2017 6:01 pm

Do either of these commands work across sites, such that a workflow running on site A can create a folder in a library on site B?? I'm getting error messages:

Create folder in List: Exception: Incorrect function. (Exception from HRESULT: 0x80070001)
Create folder by URL: Exception: Server relative urls must start with SPWeb.ServerRelativeUrl

In both cases I'm using the full URL for the destination.

Please advise,
Thanks
bladec59
 
Posts: 12
Joined: Thu Jun 04, 2015 6:31 pm

by Evgeniy Kovalev » Wed Apr 12, 2017 4:11 pm

Hi bladec59,
Thank you for a message.

If you trying to create a folder in a library on different site, then you need to specify "SiteUrl" parameter like URL of your site B and specify "AdminLogin" and"AdminPassword" parameters by credentials of the user who have permission on site B.

Best regards
Evgeniy Kovalev
Plumsail Team
User avatar
Evgeniy Kovalev
 
Posts: 55
Joined: Wed Jul 20, 2016 2:13 pm

by bladec59 » Wed Apr 12, 2017 7:18 pm

That worked...tks!
bladec59
 
Posts: 12
Joined: Thu Jun 04, 2015 6:31 pm


Return to Workflow Actions Pack for Office 365