<?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>Want to get Ids as {7750,6645} from multi-upload expression {fn!todocument(7570), fn!todocument(6645)}</title><link>https://community.appian.com/discussions/f/general/20464/want-to-get-ids-as-7750-6645-from-multi-upload-expression-fn-todocument-7570-fn-todocument-6645</link><description>Hi All, 
 How to get ids as{7570,6645} from multi-file upload expression: {fn!todocument(7570), fn!todocument(6645)}? Answer: toInteger() 
 is it possible to store array as {7570,6645} in DB column docID? then retrieve to display uploaded dox list on</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Want to get Ids as {7750,6645} from multi-upload expression {fn!todocument(7570), fn!todocument(6645)}</title><link>https://community.appian.com/thread/79851?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 06:30:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ba23338-fa2e-496f-a1df-bd2bbde77cc4</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;very interesting piece of information.&lt;br /&gt;So they are not the&amp;nbsp; temporatry IDs any more...&lt;br /&gt;It&amp;nbsp;simplifies things a bit.&amp;nbsp;&lt;br /&gt;Thank you for this Input. Pretty valuable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to get Ids as {7750,6645} from multi-upload expression {fn!todocument(7570), fn!todocument(6645)}</title><link>https://community.appian.com/thread/79822?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 14:41:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:278047f9-efc0-486a-9ad9-a12417dbf7aa</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="22226" url="~/discussions/f/general/20464/want-to-get-ids-as-7750-6645-from-multi-upload-expression-fn-todocument-7570-fn-todocument-6645/79807#79807"]When using a file upload field, the document IDs aren&amp;#39;t populated until the form has been submitted[/quote]
&lt;p&gt;Small nitpick here, but this isn&amp;#39;t really accurate in current Appian versions (depending on how literally we should take this sentence i guess).&amp;nbsp; The document IDs &lt;strong&gt;do&lt;/strong&gt; now populate basically immediately - they just aren&amp;#39;t usable for much.&amp;nbsp; They *are*, however, usable for populating doc ID values within a RI or even an integer-based CDT property, which (many moons ago) wouldn&amp;#39;t have worked due to the temporary document IDs past Appian versions used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to get Ids as {7750,6645} from multi-upload expression {fn!todocument(7570), fn!todocument(6645)}</title><link>https://community.appian.com/thread/79809?ContentTypeID=1</link><pubDate>Wed, 24 Feb 2021 06:04:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7fc06b10-1d92-4a89-bdb1-a8f53d989784</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;idea:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Submit the form&lt;/li&gt;
&lt;li&gt;save the created ids into a variable&lt;/li&gt;
&lt;li&gt;build a loop in the process and come back to the same form, with the now available ids&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to get Ids as {7750,6645} from multi-upload expression {fn!todocument(7570), fn!todocument(6645)}</title><link>https://community.appian.com/thread/79807?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 23:58:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f37956cd-ba1a-4cd9-9100-b0b46004bfa7</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;When using a file upload field, the document IDs aren&amp;#39;t populated until the form has been submitted. Upon submission you will be able to see these values in your process model process variables where they can then be written to the database. You can store arrays in SQL by including a delimenter but it might be easier to create another database table with a one to many relationship.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>