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
Updated code
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 :????? )