<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/discussions/f/integrations/17630/sending-a-document-to-a-rest-web-api-in-base64-chunks</link><description>Hi all, 
 I am trying to write a Process Model in Appian which uses an interface to accept a document from the user [of any size] and then feed that document to our document management system using its REST web-api. 
 The document management system provides</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/73194?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2020 06:22:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40dd1c4a-a1e5-4109-a691-0914d7a526ea</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;The solution was to extract the documents from Appian by writing an Appian web-api that allows the information to be retrieved from a program outside of appian, and then write a C# program that calls the Appian web-api to get the documents, and then the C# program pushes the documents into the Document Management System.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/73190?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2020 04:05:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:47df37ea-074e-465f-a6d8-2067ea623c40</guid><dc:creator>Raj</dc:creator><description>&lt;p&gt;Nupoor - Did you find a solution for this use case?&amp;nbsp; I am trying the same thing and running into som challenges.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/69705?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 05:47:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9249efad-ce8c-4150-b35d-4c06eabc4d1e</guid><dc:creator>nupoorn0002</dc:creator><description>&lt;p&gt;okay, thanks David, got your point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/69686?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 00:57:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f3cd12c-f408-403c-900b-c058216bd398</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m going from the other direction - extracting documents from appian to be stored in a document management system [for which I'm using Appian's web-api to allow the external system to access the documents it requires], so its not quite the same.&amp;nbsp; I haven&amp;#39;t investigated how one goes about retrieving documents FROM an external system into appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/69658?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 09:36:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07ad3fe7-8623-4ce7-a907-64e2a55e5610</guid><dc:creator>nupoorn0002</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;We are looking for same kind of solution in our project where appian webAPI has to receive set of documents (array of documents) from external system (SFDC).&lt;/p&gt;
&lt;p&gt;And the received doc has to be saved into Appian as Appian document. Can you please share ur implementation.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nupoor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/69462?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 12:44:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d6da5b1-14d4-4894-90f8-13f4db8aecff</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Did you try the other method to send via the integration designer? That method is probably easier to set up and doesn&amp;#39;t require a plugin at all:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Integration_Object.html#sending-base64-inline-with-json"&gt;https://docs.appian.com/suite/help/latest/Integration_Object.html#sending-base64-inline-with-json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/69451?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 07:33:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e08ce0a-9ec3-4e67-827b-a2e2b39e16f2</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;Thanks Harshit,&amp;nbsp; Do you have a URL where this plugin can be located?&amp;nbsp; I&amp;#39;ve been searching in Appian community site and have not been able to locate it.&amp;nbsp; thanks, David.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sending a  document to a rest web-api in base64 chunks</title><link>https://community.appian.com/thread/69448?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 06:20:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc4f683a-56e0-43ae-a628-c81c95070b25</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This can be achieved using a simple function &lt;span&gt;ConvertDocumentToBase64() which is a part of&amp;nbsp;&lt;/span&gt;&amp;#39;&lt;span&gt;Base64 Document Conversion Functions&amp;#39; plug-in. It a plugin provided by Appian itself. This function takes the document as input and converts it into base64 string. Then after that you can create batches of the string by counting the length and dividing it in equal parts and then sending it to the destination either with MNI or creating a loop in Process model.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;OR&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can directly select content type as &amp;#39;Multipart From Data&amp;#39; in an integration and then select type as document. Now specify the file name and document and you&amp;#39;re done. Refer the screenshot below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/picturemessage_5F00_qfk2wliy.ows.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Harshit.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>