<?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 document type CDT&amp;#39;s attribute in different enviroments</title><link>https://community.appian.com/discussions/f/data/17621/how-to-get-document-type-cdt-s-attribute-in-different-enviroments</link><description>Hi community! 
 
 I have a CDT with a document attribute type, imagine a product catalog CDT, with the name of the product and the image. 
 As I know, in database this document attribute type is stored by the documentID, so documentID is the reference</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get document type CDT's attribute in different enviroments</title><link>https://community.appian.com/thread/69426?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 09:11:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b5ae58dc-9a21-40fb-9020-6720503a6170</guid><dc:creator>andrese378</dc:creator><description>&lt;p&gt;Hi Harshit!&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0cm;"&gt;I wanted to show the image by reading the database table because there is where I have the direct relation of the product with his image. By adding a document array constant I loose this relation, but also the relation between productId and arrayPosition is strong enought.&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0cm;"&gt;&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0cm;"&gt;Thanks&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0cm;"&gt;&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0cm;"&gt;Andr&amp;eacute;s&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get document type CDT's attribute in different enviroments</title><link>https://community.appian.com/thread/69425?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 08:32:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20403829-49d4-4a00-8681-b70c57d9c213</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Updating document ids manually is obviously a painful method. Instead of that, what you can do is create a constant of document type (array) that points towards the images of the items in a sequential manner. Appending document to that constant can be done manually after adding every item but I will recommend you to use the service &amp;quot;Update Constant&amp;quot; in process model for every time you add a new item.&amp;nbsp;When&amp;nbsp;you need to display the image or the set of images of those items, you can index the constant based on the identifier of&amp;nbsp;that row of item.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is a way easy method and will not require any manual updation after deployment.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Harshit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>