<?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>How to get the document ID from Appian documents.</title><link>https://community.appian.com/discussions/f/process/30036/how-to-get-the-document-id-from-appian-documents</link><description>How to get the document ID from Appian documents.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/152216?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 16:53:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a468e650-fdce-4ea7-902d-98ca3418517f</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="129442" url="~/discussions/f/process/30036/how-to-get-the-document-id-from-appian-documents/152211"]So on same button widget can we configure document download link ?[/quote]
&lt;p&gt;No.&amp;nbsp; It would still need to be displayed separately (and then clicked on by the user) in order to actually download the document.&amp;nbsp; Buttons can not trigger the actual document download in any sense, it has to be a link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/152211?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 14:34:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66f9e370-8f96-4b25-b6ea-9752a318539f</guid><dc:creator>muddasaniupenderreddyb0001</dc:creator><description>&lt;p&gt;On button widget -&amp;gt; in saveinto we can have startProcess and save result doc to local variable. So on same button widget can we configure document download link ? Can you provide screenshot if you have any? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/152210?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 14:12:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81bc810c-6025-4d94-92ad-bc4f758aa917</guid><dc:creator>dcao</dc:creator><description>&lt;p&gt;yes. the interface&amp;#39;s button widget can trigger&amp;nbsp;a!startProcess and you can a!save the exported Excel document by&amp;nbsp;using&amp;nbsp;fv!processInfo.pv.excelDoc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/152198?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 10:15:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14335522-413f-4e02-9276-4a9eadde2d5d</guid><dc:creator>muddasaniupenderreddyb0001</dc:creator><description>&lt;p&gt;Triggering the process model -&amp;gt; fetching document id -&amp;gt; passing to Download document link. All these happened on one click?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/139608?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 20:41:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32962d0a-d4bf-4b1f-8b84-03efab31618f</guid><dc:creator>dcao</dc:creator><description>&lt;p&gt;Thanks for the tip! I was unsure if the interface fv!process.info.pv... can pass back a process variable of type document. Just updated my interface and process model now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/139607?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 20:09:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adbaaebe-a13d-4428-8753-8ad147627f68</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Great to hear that. BTW, you do not need to cast to an integer and back to a document. Appian is extremely good in automatically converting values into the required type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/139606?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 19:56:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c6805678-eef3-4bea-a931-812136f26262</guid><dc:creator>dcao</dc:creator><description>&lt;p&gt;Thank you, your suggestion helped me achieve the user requirement of export to Excel and downloading from an interface on a Site. i used a!startProcess to trigger the process model asynchronously and it passes back the document ID where I got it by doing toInteger(pv!documentName) in the process model. Then in the interface, I did todocument(local!documentId)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/119292?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 09:35:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ba2a050-6da2-453c-b28a-ac0ab87d2cf3</guid><dc:creator>Ravi Chandra</dc:creator><description>&lt;p&gt;Thanks Stefan Helzle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the document ID from Appian documents.</title><link>https://community.appian.com/thread/119290?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 08:40:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d4a7c6b-e62c-4105-a52b-36cd1e871cd6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Appian references documents by their ID already. So you can pass a valid integer to functions that expect a document, and vice versa.&lt;/p&gt;
&lt;p&gt;And you can use tointeger() or the document() function to turn a document into a number, or get the ID from a document.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/fnc_scripting_document.html"&gt;docs.appian.com/.../fnc_scripting_document.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>