<?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>create process model to download documents from knowledge center</title><link>https://community.appian.com/discussions/f/process/12670/create-process-model-to-download-documents-from-knowledge-center</link><description>Hi, we have requirement to create a process model that allows basic users (non-designer/non-admin) to query for specific documents from KC folder and download the returned query result. Can you please advise if this is achievable? There are few KC smart</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56638?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:44:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5fa1daa0-6aff-4aa7-a4c5-b2740b515053</guid><dc:creator>arikd398</dc:creator><description>Hi &lt;a href="/members/juliem0002"&gt;JulieMc&lt;/a&gt; ,&lt;br /&gt;
&lt;br /&gt;
As suggested by Santoshd, Document browser can be used to achieve this test case and you can download the document aswell from KC without any download document link.&lt;br /&gt;
&lt;br /&gt;
Please refer the code below:&lt;br /&gt;
&lt;br /&gt;
=load(&lt;br /&gt;
  local!selection,&lt;br /&gt;
  local!navigation,&lt;br /&gt;
  local!rootFolder: cons!KC_Constant,/*Constant containing the knowledge center value*/&lt;br /&gt;
  a!sectionLayout(&lt;br /&gt;
    label: &amp;quot;Document Picker&amp;quot;,&lt;br /&gt;
    contents: {&lt;br /&gt;
      a!documentBrowserFieldColumns(&lt;br /&gt;
        rootFolder: local!rootFolder,&lt;br /&gt;
        selectionValue: local!selection,&lt;br /&gt;
        selectionSaveInto: local!selection,&lt;br /&gt;
        navigationValue: local!navigation,&lt;br /&gt;
        navigationSaveInto: local!navigation&lt;br /&gt;
      ),&lt;br /&gt;
      a!pickerFieldDocuments(&lt;br /&gt;
        label: &amp;quot;Selection&amp;quot;,&lt;br /&gt;
        labelPosition: &amp;quot;JUSTIFIED&amp;quot;,&lt;br /&gt;
        folderFilter: local!rootFolder,&lt;br /&gt;
        maxSelections: 1,&lt;br /&gt;
        value: local!selection,&lt;br /&gt;
        saveInto: {&lt;br /&gt;
          local!selection,&lt;br /&gt;
          if(&lt;br /&gt;
            isnull(local!selection),&lt;br /&gt;
            null,&lt;br /&gt;
            a!save(&lt;br /&gt;
              local!navigation,&lt;br /&gt;
              document(local!selection[1], &amp;quot;folderId&amp;quot;)&lt;br /&gt;
            )&lt;br /&gt;
          )&lt;br /&gt;
        }&lt;br /&gt;
      )&lt;br /&gt;
    }&lt;br /&gt;
  )&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56632?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:20:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d72490ba-2f19-43db-b503-1d6e2fe34045</guid><dc:creator>soujanyac0001</dc:creator><description>You can configure your custom picker maxselections field for selecting in more than one document. And accordingly populate your grid.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56631?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:18:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6653efd2-3d29-430d-81a4-d1f485513945</guid><dc:creator>JulieMc</dc:creator><description>Does the above allow for bulk download too? Thanks again.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56630?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:04:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f396da4-700d-464d-8bd0-e3f79c018736</guid><dc:creator>JulieMc</dc:creator><description>Thank you! that is super helpful&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56629?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:02:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:430ef46c-89d4-4bef-aee8-f9b3fa854912</guid><dc:creator>soujanyac0001</dc:creator><description>Hi Julie,&lt;br /&gt;
You can create a interface like below and use in process model.&lt;br /&gt;
&lt;br /&gt;
a!formLayout(&lt;br /&gt;
  label: &amp;quot;&amp;quot;,&lt;br /&gt;
  contents: {&lt;br /&gt;
    a!sectionLayout(&lt;br /&gt;
      contents: {&lt;br /&gt;
        a!pickerFieldDocuments(&lt;br /&gt;
  label:&amp;quot;documents&amp;quot;,&lt;br /&gt;
  maxSelections: 1,&lt;br /&gt;
  value:ri!document,&lt;br /&gt;
  saveInto: ri!document&lt;br /&gt;
),&lt;br /&gt;
        a!gridField(&lt;br /&gt;
          totalCount: count(&lt;br /&gt;
            ri!document&lt;br /&gt;
          ),&lt;br /&gt;
          columns: {&lt;br /&gt;
            a!gridTextColumn(&lt;br /&gt;
              label: &amp;quot;File for download&amp;quot;,&lt;br /&gt;
              data: {&lt;br /&gt;
                if(&lt;br /&gt;
                  isnull(&lt;br /&gt;
                   ri!document&lt;br /&gt;
                  ),&lt;br /&gt;
                  &amp;quot;There is no file to download&amp;quot;,&lt;br /&gt;
                  document(&lt;br /&gt;
                   ri!document,&lt;br /&gt;
                    &amp;quot;name&amp;quot;&lt;br /&gt;
                  )&lt;br /&gt;
                )&lt;br /&gt;
              },&lt;br /&gt;
              links: {&lt;br /&gt;
                if(&lt;br /&gt;
                  isnull(&lt;br /&gt;
                    ri!document&lt;br /&gt;
                  ),&lt;br /&gt;
                  {},&lt;br /&gt;
                  a!documentDownloadLink(&lt;br /&gt;
                    document: {&lt;br /&gt;
                      ri!document&lt;br /&gt;
                    }&lt;br /&gt;
                  )&lt;br /&gt;
                )&lt;br /&gt;
              },&lt;br /&gt;
              alignment: &amp;quot;LEFT&amp;quot;&lt;br /&gt;
            )&lt;br /&gt;
          },&lt;br /&gt;
          value: a!pagingInfo(&lt;br /&gt;
            startIndex: 1,&lt;br /&gt;
            batchSize: count(&lt;br /&gt;
             ri!document&lt;br /&gt;
            )&lt;br /&gt;
          ),&lt;br /&gt;
          saveInto: {            &lt;br /&gt;
          },&lt;br /&gt;
          validations: {},&lt;br /&gt;
          shadeAlternateRows: true&lt;br /&gt;
        )&lt;br /&gt;
      }&lt;br /&gt;
    )&lt;br /&gt;
  }&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Hope this helps&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56625?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 08:54:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b4dddeea-db2b-4fa1-9c3e-25a2ef72c7b8</guid><dc:creator>JulieMc</dc:creator><description>Thank you all for the advice. It&amp;#39;s really helpful.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56624?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 08:47:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b36f9c47-0d86-4197-a49f-e0ac76c6f681</guid><dc:creator>ravalik</dc:creator><description>Hi Julie,&lt;br /&gt;
&lt;br /&gt;
Yes, it is possible to download the respective documents.&lt;br /&gt;
Create a user form in such a way that user can download the documents, by clicking on the document download link (Which must be configured in the form) and then provide security based on your requirements.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalik&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56615?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 08:21:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06b72c5f-c946-447c-833f-e9ead39f981e</guid><dc:creator>Abhay Giri</dc:creator><description>Hi Julie,&lt;br /&gt;
&lt;br /&gt;
yes this is possible and by using download document link you can do this. Just create a process model with a user form and in the user form use the download document link to download the documents.&lt;br /&gt;
&lt;br /&gt;
regards&lt;br /&gt;
Abhay&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56602?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 07:32:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a520b9b-8c7c-472b-baf9-5b760956e9c1</guid><dc:creator>Aditya</dc:creator><description>If you want to allow basic users to download documents, I would suggest create a process model with a form and in that form, give a link which upon clicked will download the document.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create process model to download documents from knowledge center</title><link>https://community.appian.com/thread/56601?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 07:31:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ca0f829-cc7c-4537-bd13-884cde624852</guid><dc:creator>santoshd378</dc:creator><description>Hi Julie,&lt;br /&gt;
&lt;br /&gt;
You can use document browser and download document link components  to achieve this.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>