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
32 replies
Subscribers
8 subscribers
Views
47075 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Using Exchange Web Services for email
alanl
over 8 years ago
My exchange administrators are saying that I need Appian to use Exchange Web Services. How can I get Appian to talk using this protocol?
Thanks in advance. I did a search and I didn't see anything after 2015...
OriginalPostID-258508
Discussion posts and replies are publicly visible
Parents
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Once you created the document in Appian by using "create" method. Try to download it as below,
Long newDocumentId = cs.create(doc, ContentConstants.UNIQUE_NONE);
Document newDocument = cs.download(newDocumentId, ContentConstants.VERSION_CURRENT, false)[0];
And, the next step is to copy the content from attachment to this "newDocument". This functionality we can achieve by using FileInputStream and FileOutputStream in Java.
You can find many examples in google to copy content from one file to another file in java
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Once you created the document in Appian by using "create" method. Try to download it as below,
Long newDocumentId = cs.create(doc, ContentConstants.UNIQUE_NONE);
Document newDocument = cs.download(newDocumentId, ContentConstants.VERSION_CURRENT, false)[0];
And, the next step is to copy the content from attachment to this "newDocument". This functionality we can achieve by using FileInputStream and FileOutputStream in Java.
You can find many examples in google to copy content from one file to another file in java
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data