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
17 replies
Subscribers
7 subscribers
Views
10285 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hello, We want to use an external document management system via dedi
fabienb
A Score Level 1
over 9 years ago
Hello,
We want to use an external document management system via dedicated REST web services. One of them is a multipart/form-data REST POST to create a new document. We encoded appian document content in base64 but the server does not seem to support base64 encoding.
Is there any alternative solution?
Thank you for help. Cheers.
OriginalPostID-161721
OriginalPostID-161721
Discussion posts and replies are publicly visible
0
fabienb
A Score Level 1
over 9 years ago
I will look closer at the header and responseHeader. Thank you for your time and help, I appreciate. I will keep posted if it turns all OK. Cheers
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterf
over 9 years ago
@fabienb were you able to transmit a multipart/form-data payload with a REST POST operation? I have a similar use case so I'd like to avoid re-inventing the wheel if you have already done so... Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
fabienb
A Score Level 1
over 9 years ago
Hello peterf. In the previous case, it did not work because we did not find a way to convert an appian document as a rest file. We could have developped the conversion function but our customer decided to go another way. If the file can be sent in base64, it does work though. What is your requirement?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterf
over 9 years ago
Fabien - thanks, that is what I expected based on the trails I've already done. I'n my case I'll be sending Appian documents via REST calls to a Fax service, which appears to require binary (not base64) encoding. I've started work on plugin functions to assist in that; I just wanted to make sure there was not some "out of the box" approach I'd overlooked.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterf
over 9 years ago
For anyone else with a similar problem - the solution required a custom plug-in. I based mine on Apache HTTPClient, which made the code fairly simple to write.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vishalg
over 8 years ago
Hello peterf, fabienb,
I have a similar requirement. - Need to send a document in binary field within a multipart REST POST web service. The latest post is from Jan 2016. I wonder if there is any new plugin or something available from a newer version of the Appian base product. Do you know?
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
fabienb
A Score Level 1
over 8 years ago
Hello, I have not worked on this topic since january but I did not notice any new features in the last 2 releases that would meet the requirement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<