<?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>Generate Doc using BinaryCode</title><link>https://community.appian.com/discussions/f/general/9744/generate-doc-using-binarycode</link><description>Dears , I am getting a binary code for a document and i want to generate that document using appian smart node or plugin so i only need to give the binaryCode and the result will be a document file. Thanks and appreciate your helps OriginalPostID-262</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Generate Doc using BinaryCode</title><link>https://community.appian.com/thread/42970?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 17:07:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d03d0612-32b6-4d38-8d96-55a910f8b397</guid><dc:creator>Sathya Srinivasan</dc:creator><description>So, what do you want to do with the generated document? Is it something like real-time download that you are taking about?  One option is to create a servlet plugin that generates the document as a response to the HTTP request and returns this as the MIME type of the Http Response.  This way, it will appear as if when you click on the link, the document is getting downloaded from the server, but in reality, your servlet plugin is creating the document from the base64 and setting the mimme type to make the browser think its downloading a document.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Doc using BinaryCode</title><link>https://community.appian.com/thread/42955?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 13:36:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b617c7fb-bf8a-418b-a91d-5c0e26f9cfdc</guid><dc:creator>ahmada674</dc:creator><description>Thanks for your replay .&lt;br /&gt;&lt;br /&gt;our case that we have base64Binary we will save it to database then we need to generate doc based on the code without save it to appian server is that applicable?&lt;br /&gt;&lt;br /&gt;what is the other solutions.&lt;br /&gt;&lt;br /&gt;Thanks...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generate Doc using BinaryCode</title><link>https://community.appian.com/thread/42941?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 04:20:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6b114a9-1cc1-43f0-a427-aee49d6370fe</guid><dc:creator>Sathya Srinivasan</dc:creator><description>What do you have in that binary code? Do you have the library that converts the binary back into a document?  If its the case, you can write a simple plugin that uses the ContentServices in Appian to convert this binary to Appian document (assuming the code will involve the bit that knows how to convert the binary back into the document format).  Double check if this is Binary or ASCII.  Sometimes, if you open a document in notepad, you will get to see the ASCII format of that document.  If this be the case, then you should technically be able to save the exact ASCII in a file within Appian and rename it to the appropriate extension of the incoming file.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>