Hello All,
How to set Subsite path in Sharepoint OOTB box connector function.Struggling to find syntax to set.We are trying to upload the document to a subsite path
a!shpCopyDocumentFromAppian( scsExternalSystemKey: "sharepoint", usePerUserCredentials: false(), hostname: "My Site" /*cons!SHAREPOINT_HOSTNAME*/, port: cons!SHAREPOINT_PORT, timeout: cons!SHAREPOINT_TIMEOUT, retries: cons!SHAREPOINT_NUM_RETRIES, path: "/_api/web/GetFolderByServerRelativeUrl('%2Fglobalclientonboarding%2FDocuments%2FTest')/Files/add(url='" & document(local!documentToSend[1], " subsitePath :"/globalclientonboarding/Documents/Test" )
Discussion posts and replies are publicly visible
Hi Raj, have you tried using the Sharepoint connected system instead of the old connector? https://docs.appian.com/suite/help/20.1/Connected_System.html#add-document
Hi thanks for reply.Our SharePoint instance is not online or 365.We are trying to comment to an on premise SharePoint from Appian cloud.
So we have to use connector function instead of Connected system
Hi Jacob,
I am trying to add a document to SharePoint. Can you send us how we can give the subsite name and folder path? I didn't find any sample example in Appian Documentation
Thanks,
Nagashankar.N
Nagashankar,Our SharePoint connected system can be used to accomplish this. When you create an integration with a SharePoint connected system, you are given a nice guided experience. There is an option to Provide a SharePoint subsite, as well as a Destination Folder Path.