<?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>Editable Grid from CDT</title><link>https://community.appian.com/discussions/f/user-interface/14292/editable-grid-from-cdt</link><description>Hi, 
 
 I&amp;#39;m trying to create an editable grid from a CDT whose values are set in a process model script node. 
 The following is the CDT where newPriority is the only editable field in the grid. All the fields have multiple values for all documents which</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64513?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 16:49:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78b13da8-0256-4569-a0d0-78b33d1cc97d</guid><dc:creator>Kenneth Chen</dc:creator><description>Can you define exactly what you mean by can&amp;#39;t see? Does the entire image column not show up? Does the column exist but display blanks in the column? Can you confirm that the documents you have uploaded are actually image files?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64512?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 16:12:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:671f5df0-2455-40cc-8e38-21c4a04d1135</guid><dc:creator>anjup136</dc:creator><description>Ya it matches with the actual appian document Id already exists. But still I cant see.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64507?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 14:08:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9850a65a-ee92-4388-9c39-ea3d9c5afee6</guid><dc:creator>Kenneth Chen</dc:creator><description>Appian expects the docId in the image field to be the appian document ID. Can you confirm that your docId field in the CDT matches the actual appian document ids of the uploaded files?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64506?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 13:47:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66fc0d4c-283f-40be-bc6c-205a359e1be8</guid><dc:creator>anjup136</dc:creator><description>Any clues why the image field is not getting displayed?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64503?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 10:42:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d58255ca-3bc8-454c-8f37-7447756013cd</guid><dc:creator>ManuelHTG</dc:creator><description>Best for me is always to use a Interface pattern from the Appian documentation. It comes with a load variable and the data already define inside. Then, I would declare my variable as a constant, check that it works with my data types. Finally I would call a query rule to get my data from the DB and replace the fields from my self-made variable.&lt;br /&gt;
&lt;br /&gt;
here the example from the documentation: &lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.4/recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html"&gt;docs.appian.com/.../recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64497?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 05:37:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6af31476-30a5-4495-a2db-4c89c32971ef</guid><dc:creator>ekanshj</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Please find the below code snippet for the requirement.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;load(
  local!x: {{
    docId:95351,
    docDes:&amp;quot;as&amp;quot;,
    docName:&amp;quot;A&amp;quot;,
    existingPriority:&amp;quot;1&amp;quot;,
    newPriority: null
  },
{
    docId:&amp;quot;123&amp;quot;,
    docDes:&amp;quot;AD&amp;quot;,
    docName:&amp;quot;B&amp;quot;,
    existingPriority:&amp;quot;2&amp;quot;,
    newPriority: null
  }},
  a!gridLayout(
    label: &amp;quot;Test&amp;quot;,
    headerCells: {
      a!gridLayoutHeaderCell(label: &amp;quot;Doc&amp;quot;),
      a!gridLayoutHeaderCell(label: &amp;quot;Desc&amp;quot;, align: &amp;quot;RIGHT&amp;quot;),
      a!gridLayoutHeaderCell(label: &amp;quot;Name&amp;quot;, align: &amp;quot;RIGHT&amp;quot;),
      a!gridLayoutHeaderCell(label: &amp;quot;Existing Priority&amp;quot;, align: &amp;quot;RIGHT&amp;quot;),
      a!gridLayoutHeaderCell(label: &amp;quot;New Priority&amp;quot;, align: &amp;quot;RIGHT&amp;quot;)
    },
    rows: a!forEach(
      items: local!x,
      expression: a!gridRowLayout(
        contents: {
            a!imageField(
            images: a!documentImage(document:fv!item.docId ) ,
            readOnly: true
          ),
          a!textField(
            value: fv!item.docDes,
            readOnly: true,
            align: &amp;quot;RIGHT&amp;quot;
          ),
          a!textField(
            value: fv!item.docName,
            readOnly: true,
            align: &amp;quot;RIGHT&amp;quot;
          ),
          a!textField(
            value: fv!item.existingPriority,
            readOnly: true,
            align: &amp;quot;RIGHT&amp;quot;
          ),
          a!textField(
            value: fv!item.newPriority,
            saveInto: fv!item.newPriority,
            align: &amp;quot;RIGHT&amp;quot;
          )
        }
      )  
    ),
     rowHeader: 1
  )  
)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid from CDT</title><link>https://community.appian.com/thread/64481?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 10:16:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c79ec94e-8972-42f8-afe7-b23d78be3b06</guid><dc:creator>amitb0004</dc:creator><description>Hello apoorvam0001,&lt;br /&gt;
Is my understanding is correct that,&lt;br /&gt;
you have created the CDT and now you are trying to create editable grid and trying to insert data from that grid into CDT and data may be multiple....&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>