cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
navik
Nintex Newbie

Upload file on subsite document library

Jump to solution

Hello,


I have one site collection with one subsite.

I create a site workflow for technical reason.

I would like to use "Office 365 Upload file" action but i have an error :
"An exception occurred while processing parameter [InputFileToUpload]"

See my configuration below.

This is the "ServerRelativeUrl" of my document :

/sites/<NameSiteCollection>/<SubsiteName>/<MyLib>/<FolderParent>/<FolderChild>/<myDoc>.docx

And i put this value on that field in Nintex Action : 

I don't understand why this doesn't work because "ServerRelativeUrl" is the correct parameter if i see the nintex documentation, they say we have to put the relative url of the document "<LibraryName>/<MyDoc>.docx".


This value is returned from SharePoint REST API :

Thanks in advance to help me

Labels: (1)
Reply
4 Replies
Automation Master
Automation Master

Re: Upload file on subsite document library

Jump to solution

Hi,

This field requires a site relative URL. So if you have your workflow in the same site, as the library where you keep the file you want to upload, then from your URL:

/sites/<NameSiteCollection>/<SubsiteName>/<MyLib>/<FolderParent>/<FolderChild>/<myDoc>.docx

only this part should be left:

/<MyLib>/<FolderParent>/<FolderChild>/<myDoc>.docx

Regards,

Tomasz

Reply
navik
Nintex Newbie

Re: Upload file on subsite document library

Jump to solution

And if you want to upload file into the subsite and not into sitecollection ?

0 Kudos
Reply
yoav_rappaport
Nintex Newbie

Re: Upload file on subsite document library

Jump to solution

Did you figure this out? I can't get a file to upload from a site doc lib to a subsite doc lib.  Or perhaps I don't have the correct Destination site URL and the Folder Path. This is how i have it set up.

Reply
eve
Nintex Newbie

Re: Upload file on subsite document library

Jump to solution

Hi Yoav,

Have exactly the same problem, did you get it working?

0 Kudos
Reply