<?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>Best way to provide a link to download a document</title><link>https://community.appian.com/discussions/f/user-interface/26109/best-way-to-provide-a-link-to-download-a-document</link><description>Hi, 
 I have a requirement to provide just a link to download a standard file (File uploaded to a folder which is there under KnowledgeCenter) 
 What is the best way to do this. 
 When I review the Appian document I found this. a!documentDownloadLink</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Best way to provide a link to download a document</title><link>https://community.appian.com/thread/102295?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:55:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ee28921-fe11-4f68-8038-07b8a08571ab</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="170215" url="~/discussions/f/user-interface/26109/best-way-to-provide-a-link-to-download-a-document/102294#102294"]what is I move the document to the higher environments like UAT and PROD[/quote]
&lt;p&gt;If you have a document that&amp;#39;ll be deployed to different environments, you will want to create a Constant to refer to it.&amp;nbsp; The Doc ID will change between environments, but the constant refers to it by UUID which will remain consistent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best way to provide a link to download a document</title><link>https://community.appian.com/thread/102294?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:52:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5174a55b-bb23-4dd6-a2af-b13fafc56bfb</guid><dc:creator>swapnar6405</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The document which I have uploaded is having a document ID.&lt;/p&gt;
&lt;p&gt;But, what is I move the document to the higher environments like UAT and PROD. Will the document ID remain same or will it vary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best way to provide a link to download a document</title><link>https://community.appian.com/thread/102292?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:26:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:476b402f-c06d-4ea4-a1f0-c6db6e03e6cd</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Harshit&amp;#39;s answer is correct - the only relevant thing in play here is the appian Document ID.&amp;nbsp; Paths in the Appian filesystem are purely notional and not at all relevant to downloading, other than for maintaining folder-based security for document access (i.e. a user would have to have at least &amp;quot;viewer&amp;quot; access to the folder a document is stored in, to be able to actually download it).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best way to provide a link to download a document</title><link>https://community.appian.com/thread/102291?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:07:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2179477e-27a3-46ea-99f1-fb4329d7b977</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Document ID in integer or a constant which points to that document.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>