Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
34 replies
Subscribers
7 subscribers
Views
13427 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
I am trying to execute example mentioned in forum to test "Copy a Document
sapnas
over 10 years ago
I am trying to execute example mentioned in forum to test "Copy a Document From Appian to SharePoint" functionality using connector functions-
forum.appian.com/.../Connector_Functions
Code / Example from forum connection and API parameters suitable to the my environment-
=load(
local!documentToSend,
a!dashboardLayout(
firstColumnContents: {
a!pickerFieldDocuments(
label: "Document To Send",
maxSelections: 1,
value: local!documentToSend,
saveInto: local!documentToSend
),
if(
isnull(local!documentToSend),
{},
load(
local!shpCopyDocumentFromAppianWriter: bind(
null,
a!shpCopyDocumentFromAppian(
scsExternalSystemKey: "sharepoint",
usePerUserCredentials: true,
hostname: cons!SHAREPOINT_HOSTNAME,
port: cons!SHAREPOINT_PORT,
...
OriginalPostID-112434
OriginalPostID-112434
Discussion posts and replies are publicly visible
Parents
0
sapnas
over 10 years ago
I have tried to replaced the IP address with hostname of the SharePoint server and executed the code but I am still getting the same error -
-/0.0.0.0:8080-7) 2014-06-23 06:31:44,440 [http-/0.0.0.0:8080-7] DEBUG com.appiancorp.core.expr.DelayedWriteContext - Executing DelayedWrite: local!shpCopyDocumentFromAppianWriter: com.appian.integration.sharepoint.upload.SharepointIntegrationUploadFile$1@2b6f447
-/0.0.0.0:8080-7) 2014-06-23 06:31:45,080 [http-/0.0.0.0:8080-7] ERROR com.appiancorp.core.expr.DelayedWriteContext - An error occurred while attempting to store into variable local!shpCopyDocumentFromAppianWriter. Details: com.appian.integration.sharepoint.exception.CustomRuntimeException: Unable to retrieve RequestDigest from SharePoint to execute POST request
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sapnas
over 10 years ago
I have tried to replaced the IP address with hostname of the SharePoint server and executed the code but I am still getting the same error -
-/0.0.0.0:8080-7) 2014-06-23 06:31:44,440 [http-/0.0.0.0:8080-7] DEBUG com.appiancorp.core.expr.DelayedWriteContext - Executing DelayedWrite: local!shpCopyDocumentFromAppianWriter: com.appian.integration.sharepoint.upload.SharepointIntegrationUploadFile$1@2b6f447
-/0.0.0.0:8080-7) 2014-06-23 06:31:45,080 [http-/0.0.0.0:8080-7] ERROR com.appiancorp.core.expr.DelayedWriteContext - An error occurred while attempting to store into variable local!shpCopyDocumentFromAppianWriter. Details: com.appian.integration.sharepoint.exception.CustomRuntimeException: Unable to retrieve RequestDigest from SharePoint to execute POST request
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data