Sharepoint Integration Issue

Hi All,

I want to integrate Appian with sharepoint. To download a document from sharepoint, I am using fn "a!shpCopyDocumentToAppian" but when I am using the following expression, I am getting Error "An error occurred while attempting to store into variable local!download. Details: The site-wide credentials for this system [key=sharepointcredetials_rishu] have not been configured in the secure credentials store. Please ask an administrator to update the credentials in the Third-Party Credentials page in the Administration Console"

=a!shpCopyDocumentToAppian(
scsExternalSystemKey: cons!SHAREPOINT_EXTERNAL_SYSTEM_KEY,
usePerUserCredentials: false(),
hostname: cons!SHAREPOINT_HOSTNAME,
port: cons!SHAREPOINT_PORT,
timeout: 3000,
retries: 1,
path: "/_api/web/GetFileByServerRelativeUrl('/Shared%20Documents/2015%20ABCD%20EFGH/" & ri!filename &"')/$value",
appianFolder: tointeger(cons!SHAREPOINT_APPIAN_FO...

OriginalPostID-247083



  Discussion posts and replies are publicly visible

Parents
  • Thank for update. I tried it as told by you & now I am encountering below error:

    [http-/0.0.0.0:8080-7] ERROR com.appiancorp.core.expr.DelayedWriteContext - An error occurred while attempting to store into variable local!download. Details: The external server for this system [key=sharepointcredetials_rishu] generated an exception when calling a function [shpCopyDocumentToAppian]. Details from external system: java.net.URISyntaxException: Illegal character in path at index 123: myorganzation.sharepoint.com:80/.../EFGH 2016 Project work.xlsx')/$value
Reply
  • Thank for update. I tried it as told by you & now I am encountering below error:

    [http-/0.0.0.0:8080-7] ERROR com.appiancorp.core.expr.DelayedWriteContext - An error occurred while attempting to store into variable local!download. Details: The external server for this system [key=sharepointcredetials_rishu] generated an exception when calling a function [shpCopyDocumentToAppian]. Details from external system: java.net.URISyntaxException: Illegal character in path at index 123: myorganzation.sharepoint.com:80/.../EFGH 2016 Project work.xlsx')/$value
Children
No Data