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
2 replies
Subscribers
7 subscribers
Views
1535 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi I am using CMIS connector function: cmiCopyDocumentFromAppian to copy do
soumyab103
over 9 years ago
Hi
I am using CMIS connector function: cmiCopyDocumentFromAppian to copy document from Appian Knowledge Center to Alfresco.
Following is the code snippet-
local!cmiCopyDocumentFromAppianWriter: bind(
null,
a!cmiCopyDocumentFromAppian(
scsExternalSystemKey: "alfresco",
usePerUserCredentials: false,
atomPubUrl: "
localhost:8089/.../atom",
repositoryId: "-default-" ,
objectId: rule!CMIS_getRootFolderId("Alfresco"),
properties: {name:"Sample Document" & rand(), description:"This is a sample document"},
appianDocument: _
)
)
It uploads the document properly, but I am not able to set the document description or document tag using the above code. Is there a way we can set the tag and description to the document uploaded?
Appreciate any help.
OriginalPostID-151695
OriginalPostID-151695
Discussion posts and replies are publicly visible
0
Sathya Srinivasan
Appian Employee
over 9 years ago
Your syntax for propertise seems to be correct. Have you checked there is an attribute called 'description' in Alfresco to write to? Secondly, you might also want to make sure there are no restrictions in adding meta-data to your document on Alfreso sode.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
soumyab103
over 9 years ago
Thanks Sathya. I can see the description is now getting updated, for some reason it does not show in my alfresco file share portal, but while reading the document, I can see the description is present in that file.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel