<?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 can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/discussions/f/user-interface/505/how-can-i-get-the-path-of-a-document-uploaded-in-appian-based-on-document-id-th</link><description>How can i get the path of a document uploaded in appian based on document id? The idea here is save the document id of an image to db and later on display to a form using IMAGE field?... OriginalPostID-60340 OriginalPostID-60340</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1540?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2013 07:30:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d515813-fbba-41e3-97f7-cfc32c3d9ae0</guid><dc:creator>Jess</dc:creator><description>thanks for all your suggestions. I was able to do it correctly.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1539?ContentTypeID=1</link><pubDate>Sun, 10 Mar 2013 18:39:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9270638f-d39d-483c-a0a4-96f5f2601248</guid><dc:creator>mohanp</dc:creator><description>Hi Jessica, i also tried to work for mobile enable form..i am using following procedure, not perfect for your case, but its working for mobile enable form&lt;br /&gt;1) upload images in document folder&lt;br /&gt;2) create a constant of document type which will hold multiple value.&lt;br /&gt;3) using image field on form i am choosing file value like below :&lt;br /&gt;=if(pv!ImgName=&amp;quot;valueToBeCheck&amp;quot;,cons!ImgConstant[1],cons!ImgConstant[2])&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1537?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2013 23:02:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:22ec33f9-0951-49d7-b597-a54c2e1846d1</guid><dc:creator>Abhishek Shadangi</dc:creator><description>Hi Jessica, since you are planning on saving the image ID to the database, I would highly recommend to use the UUID when storing in the database, because UUID is the only unique identified that stays the same when you export the Application from one environment to another.  You cannot rely on ID when migrating Application over systems.&lt;br /&gt;&lt;br /&gt;You can do the following:&lt;br /&gt;1) Create an Application with the image (Document), if you don&amp;#39;t already have an Application including this image.&lt;br /&gt;2) Export the Application, and grab the UUID by reviewing the LOG file.  You can use this UUID to store in the DB.&lt;br /&gt;3) Now if your process get the Document back by using expression getcontentdetailsbyuuid(&amp;quot;&amp;lt;image-document-uuid&amp;gt;&amp;quot;).&lt;br /&gt;4) You can then use the Document directly in the image forument component.&lt;br /&gt;&lt;br /&gt;Please let me know if you have questions.  Good luck!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1536?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2013 21:30:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a59f9b41-6d94-4328-82df-e0fa8aa8a647</guid><dc:creator>Tim</dc:creator><description>Have you tried using the linktodocumentinternal() function?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1533?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2013 20:46:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:04abf3be-4b03-482b-936e-7fb82629f960</guid><dc:creator>rayudua</dc:creator><description>I have used before todocument (pv!docId) and image component &lt;br /&gt;It always worked&lt;br /&gt;I prefered todocument rather than url&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1532?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2013 20:10:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:145bf712-d5ab-4c07-897c-e74fa3cdc3c5</guid><dc:creator>Tarun Abraham</dc:creator><description>Check the URL to ensure it is correct. The other option is on the the image component select the choose file option and open the expression editor.In the editor use the todocument(docid) function to render the image.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1531?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2013 17:07:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01fc5373-5c81-473b-a188-51ab1a34e40d</guid><dc:creator>Jess</dc:creator><description>this should be mobile-enabled,that&amp;#39;s why i cant use message field to display images.my problem is,how can i show an image using &amp;quot;IMAGE field&amp;quot; with the link - https://&amp;lt;domain&amp;gt;/suite/doc/&amp;lt;docID&amp;gt; where &amp;lt;docid&amp;gt; will change depending on a condition. If i choose ENTER URL: =&amp;quot;https://&amp;lt;domain&amp;gt;/suite/doc/&amp;quot; &amp;amp; pv!docID, it returns error in the expression picker. Any suggestions on how to display images using appian link?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get the path of a document uploaded in appian based on document id? Th</title><link>https://community.appian.com/thread/1530?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2013 16:46:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f35f0988-8ec2-4167-9c8b-453858d3b271</guid><dc:creator>Jess</dc:creator><description>https://&amp;lt;domain&amp;gt;/suite/doc/&amp;lt;docID&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>