<?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>Document by Document id</title><link>https://community.appian.com/discussions/f/general/13021/document-by-document-id</link><description>Hi All, 
 
 I have a requirement to get documents based on theirs doc ids. 
 initially get all the documents and Zip it into a folder and download it. 
 I am not getting how to get the documents based on their Ids. 
 I tried to get the documents based</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58810?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 06:20:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f66f2f42-7ca2-492b-9b1c-cf8dc5c70f68</guid><dc:creator>anshuk611</dc:creator><description>You can use a!documentBrowserFieldColumns() function to download the contents from a a particular folder.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58717?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 13:16:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea56d3ec-d3d6-43ca-bbbc-d623792562be</guid><dc:creator>josep</dc:creator><description>Hello sonak&lt;br /&gt;
&lt;br /&gt;
I think you are looking for this piece of code? &lt;br /&gt;
&lt;br /&gt;
a!documentDownloadLink(&lt;br /&gt;
document: todocument(ri!docid&lt;br /&gt;
),&lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58716?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 12:40:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0e9aabf-8b66-4a75-a849-e4d758a556c5</guid><dc:creator>sonakshid</dc:creator><description>&lt;p&gt;Hi Arun,&lt;/p&gt;
&lt;p&gt;My requirement is to download a specific document from knowledge center, how can it be achieved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58619?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 13:35:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89b78138-762d-4fee-812f-beaff61a7d9c</guid><dc:creator>rohann179</dc:creator><description>This one helped me...&lt;br /&gt;
I created a Process Model where we supply the Document ids and Return the Zip Doc.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58618?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 13:16:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4fa04fe-ea69-4387-90da-e1ab057c3c0f</guid><dc:creator>rohann179</dc:creator><description>i am trying to create a zip file of the documents based on the document ids not a download document&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58617?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 13:15:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d35dd70c-afd1-43fb-aa22-6d7028193ea7</guid><dc:creator>rohann179</dc:creator><description>i do not want to move them i just want to copy them!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58602?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 09:51:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ff3c6ad-6362-47d3-9360-8fccc90d863c</guid><dc:creator>Arun Manoj Senthil Kumar</dc:creator><description>&lt;p&gt;Hi Mr.Rohan,&lt;/p&gt;
&lt;p&gt;Good day!!!&lt;/p&gt;
&lt;p&gt;Hope you are trying download the document based on document id. if so, please check whether the below code helps you.&lt;/p&gt;
&lt;p&gt;a!forEach(&lt;br /&gt; items: {321426,286703}, &lt;strong&gt;/*List of Document Ids*/&lt;/strong&gt;&lt;br /&gt; expression: a!linkField(&lt;br /&gt; links: a!documentDownloadLink(&lt;br /&gt; document: todocument(&lt;br /&gt; fv!item&lt;br /&gt; ),&lt;br /&gt; label: document(&lt;br /&gt; fv!item,&lt;br /&gt; &amp;quot;name&amp;quot;&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Arun Manoj S&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58587?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 05:58:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b5e25ffa-557a-4c15-a4e9-c1a42677e766</guid><dc:creator>anshuk611</dc:creator><description>1. You can create rule to convert doc&amp;#39;ids to a document.&lt;br /&gt;
Rule&lt;br /&gt;
---------&lt;br /&gt;
apply(&lt;br /&gt;
 todocument(_) ,&lt;br /&gt;
 /*list of document id&amp;#39;s*/&lt;br /&gt;
 {11,12}&lt;br /&gt;
 /*list of document id&amp;#39;s*/ &lt;br /&gt;
)&lt;br /&gt;
2.You can use this plugin to create zip files of your documents&lt;br /&gt;
&lt;a href="https://community.appian.com/b/appmarket/posts/add-documents-to-zip"&gt;community.appian.com/.../add-documents-to-zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
3.If you want place these files to a location  you can use &amp;quot;Move To Filesystem&amp;quot; or  &amp;quot;Send File Using SFTP&amp;quot;--&amp;gt;prefer this smart service.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document by Document id</title><link>https://community.appian.com/thread/58586?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 05:18:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fcab9000-6f67-466c-be2a-fac072cebac4</guid><dc:creator>hiteshd</dc:creator><description>Hi Rohan,&lt;br /&gt;
&lt;br /&gt;
Your query is a bit vague. Do you have the doc ids or just the doc names?&lt;br /&gt;
&lt;br /&gt;
If you have the document ids, you can move it to a folder using smart service and then zip the newly created folder.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
Hitesh&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>