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
+1
person also asked this
people also asked this
Replies
6 replies
Subscribers
7 subscribers
Views
6406 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Sharepoint 2013 integration issue -
rupakj
A Score Level 1
over 8 years ago
I am trying to execute example mentioned in forum to test "a!shpInvoke() - to Get metadata of files in SharePoint 2013 to Appian 16.3 (Cloud)" functionality using connector functions-
forum.appian.com/.../Connector_Functions.html
Code / Example from forum connection :-
=load(
local!pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: 10,
sort: a!sortInfo(
field: "Name",
ascending: true
)
),
with(
local!sharepointQueryResult: a!shpInvoke(
scsExternalSystemKey: cons!SHAREPOINT_EXTERNAL_SYSTEM_KEY,
usePerUserCredentials: true,
hostname: cons!SHAREPOINT_HOSTNAME,
port: cons!SHAREPOINT_PORT,
timeout: cons!SHAREPOINT_TIMEOUT,
retries: cons!SHAREPOINT_NUM_RETRIES,
path: "/_api/Web/getfolderbyserverrelativeurl('Shared%20Documents')/Files?$select=Name,ServerRelativeUrl,Time...
OriginalPostID-265590
jboss1-stdOut.log
Discussion posts and replies are publicly visible
Parents
0
rupakj
A Score Level 1
over 8 years ago
...an.integration.sharepoint.function.SharePointInvoke - ConnectorRuntimeException [title=Error calling shpInvoke, com.appian.integration.core.exception.ConnectorRuntimeException: The external server for this system [key=sharepoint] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalArgumentException: org.codehaus.jackson.JsonParseException: Unexpected character ('?' (code 65279 / 0xfeff)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19) at [Source: java.io.StringReader@3cf10c61; line: 1, column: 2]]
09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19) ConnectorRuntimeException [title=Error calling shpInvoke, com.appian.integration.core.exception.ConnectorRuntimeException: The external server for this system [key=sharepoint] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalA...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rupakj
A Score Level 1
over 8 years ago
...an.integration.sharepoint.function.SharePointInvoke - ConnectorRuntimeException [title=Error calling shpInvoke, com.appian.integration.core.exception.ConnectorRuntimeException: The external server for this system [key=sharepoint] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalArgumentException: org.codehaus.jackson.JsonParseException: Unexpected character ('?' (code 65279 / 0xfeff)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19) at [Source: java.io.StringReader@3cf10c61; line: 1, column: 2]]
09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19) ConnectorRuntimeException [title=Error calling shpInvoke, com.appian.integration.core.exception.ConnectorRuntimeException: The external server for this system [key=sharepoint] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalA...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data