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
27 replies
Subscribers
5 subscribers
Views
7849 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
How to upload fies to Knowledge center via Content Service
Shivam Gupta
over 8 years ago
I am working on a plugin creation that uploads a file to Knowledge center from your system
i know that i have to use contentService
but in contentService their is function named "upload(Document doc, java.lang.Integer unique)" which returns ContentOutputStream instance
but i am unable to understand how the document is getting saved into Knowledge center.
Anyone please help struck in this for a while
Thanks in advance
OriginalPostID-235089
Discussion posts and replies are publicly visible
Parents
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Yes Shiva,
1. First you have to create a document object with the content and set the all applicable properties and then use create function to save it in the Appian.
2. Yes, cs is the object of ContentService.
3. No need to use upload method.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Yes Shiva,
1. First you have to create a document object with the content and set the all applicable properties and then use create function to save it in the Appian.
2. Yes, cs is the object of ContentService.
3. No need to use upload method.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data