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
6 replies
Subscribers
4 subscribers
Views
1963 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Can a!shpCopyDocumentFromAppian be called from a script task? The documentation
joshuab
over 8 years ago
Can a!shpCopyDocumentFromAppian be called from a script task? The documentation seems to indicate that it can. If possible, can somebody provide an example of how this would work? I can only find examples of this for a SAIL interface.
OriginalPostID-201441
OriginalPostID-201441
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
@joshuab I don't think we are able to do it in a script task or in an other area outside SAIL interface. You need a SAIL interface (off-course, as explained, you should use load() and bind() as well) for doing so as far as my knowledge is considered.
Even documentation at https://forum.appian.com/suite/help/16.1/Connectors.html says 'The connectors are available as functions that are intended to be used with SAIL expressions to build rich record lists and dashboards to present a unified view of data from disparate systems.'
Let's see what other practitioners opines.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shyam Bommakanti
Certified Lead Developer
over 8 years ago
It's not possible to use a!shpCopyDocumentFromAppian in a script task. For now, atleast till 16.1, any expression that returns Writer object can only be used with user interaction in combination of load and bind() on SAIL interface.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joshuab
over 8 years ago
Ok thank you for your response. Would it be possible to upload multiple documents within a sail interface then? The example shows only a single document.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shailendras593
over 8 years ago
Hi Josh,
If you are asking to build multiple file upload in SAIL, then have a look at this
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@joshuab I believe that isn't possible and that's what my experience with CMIS functions (used for integrating with Alfresco) has made me learnt. I have asked a similar question at https://forum.appian.com/suite/tempo/entry/e-174791 and you may check the response of @Eduardo.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@shailendras Hi, just to let you know, the question(and the post as well) is with respect to multiple upload of files to SharePoint by using a!shpCopyDocumentFromAppian() and the example referred to, is at https://forum.appian.com/suite/help/16.1/Connector_Functions.html#a!shpCopyDocumentFromAppian.28.29. It might be worth shedding light on this (uploading multiple files to SharePoint) rather than the multiple upload files to Appian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel