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
4 replies
Subscribers
7 subscribers
Views
3030 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
CMIS Question - We are trying to use the CMIS functions to copy documents from F
padmanabhanv
over 10 years ago
CMIS Question - We are trying to use the CMIS functions to copy documents from Filenet to an Appian doc store. The flow is like this -
-->The user searches for documents by keying in some search parameters
--> One or more documents are returned from the query
-->User selects one or more documents and then clicks download
At this point the CMIS function a!cmiCopyDocumentToAppianFolder() is invoked within the context of an apply function. The function returns a Writer object. What is its use? Can it be used to get the document Id of the newly created document(copied from filenet) in Appian?...
OriginalPostID-128580
OriginalPostID-128580
Discussion posts and replies are publicly visible
0
GouthamKrishna
over 10 years ago
Hi, As a!cmiCopyDocumentToAppianFolder() returns a Writer so it must be used in conjunction to bind() function. That means whenever the variable bound to the bind() function is 'Saved into' in a SAIL code, then a!cmiCopyDocumentToAppianFolder() function will be executed and the specified document object is moved form target system to the specified folder in Appian. But not sure how to get exact document id of the moved document. The only option I can see is to search with in the specified folder.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 10 years ago
Yes, that's correct. You have to loop through the folder again and get the document. Not an ideal solution. For a similar use case we wrote a CMIS plugin. Much more cleaner and manageable.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prajwalb
over 9 years ago
We have a very similar use case...did you make any progress in custom plugin?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 9 years ago
Yes we wrote a custom plugin for that using Apache CMIS. Works very well
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel