<?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 : update common Fields</title><link>https://community.appian.com/discussions/f/user-interface/23659/editable-grid-update-common-fields</link><description>Hello Community, 
 I want to make an editable grid with fields having below details 
 Column Names - studentCountry , s tudentName, subject , status - (Pass or Fail) I&amp;#39;ve Created the grid where the studentName will be repeating and read only because of</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/91322?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 18:35:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8640029-af48-4b38-91f0-6b8a1ba314dc</guid><dc:creator>Pranav K</dc:creator><description>&lt;p&gt;Yes was able to fix it. Thanks for help &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/91321?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 16:06:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88449b79-7307-4e3e-9ac7-4e6f1355c3ef</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;Able to fix the issue. need any help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/91304?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 09:52:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23a97aa3-e98f-4a0e-93be-c7b8b2246d84</guid><dc:creator>Pranav K</dc:creator><description>&lt;p&gt;Thanks Mike, I got it now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/91287?ContentTypeID=1</link><pubDate>Sun, 20 Feb 2022 19:33:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:245a8959-5568-4b30-8093-b86384d57095</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="71451" url="~/discussions/f/user-interface/23659/editable-grid-update-common-fields/91286#91286"]could you please explain me why are we using &amp;quot;[1]&amp;quot; as some sort of index ?[/quote]
&lt;p&gt;The function &lt;em&gt;wherecontains()&lt;/em&gt; returns an &lt;strong&gt;ARRAY TYPE&lt;/strong&gt; value regardless of how many entries it contains.&amp;nbsp; Thus a common way to pre-correct the result (such as the variable you&amp;#39;re storing the value into) is to use the &amp;quot;hardcoded&amp;quot;, [1] index.&amp;nbsp; This makes the assumption that there will &lt;em&gt;&lt;strong&gt;always be at least one&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; match to the wherecontains() call.&amp;nbsp; If it would ever be possible for an empty set to be returned, it would be better to use index(), i.e.&lt;/p&gt;
&lt;p&gt;index(wherecontains(fv!item.studentId, local!student.id), 1, null())&lt;/p&gt;
&lt;p&gt;... which will attempt to get &amp;quot;index 1&amp;quot; of the resulting array, if applicable, and if the resuling array has no &amp;quot;index 1&amp;quot;, it will return the fallback value of &amp;quot;null()&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/91286?ContentTypeID=1</link><pubDate>Sun, 20 Feb 2022 17:45:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c4b748e5-80ab-4a96-881d-9d8dd8772859</guid><dc:creator>Pranav K</dc:creator><description>&lt;p&gt;Hello Jasmithak,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was trying to change the field for this expression you&amp;#39;ve given in above code&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;local!studentIndex: tointeger(&lt;/span&gt;&lt;br /&gt;&lt;span&gt;wherecontains(fv!item.studentId, local!student.id)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;)[1],&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;due to some changes in my use case, It works fine for this field but as soon as I change the field, It throws me error saying :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#ff0000;"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt; Interface Definition: Expression evaluation error at function a!forEach [line 133]: Error in a!forEach() expression during iteration 1: Expression evaluation error : Invalid index (1) for list: valid range is empty&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#ff0000;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#333333;"&gt;could you please explain me why are we using &amp;quot;[1]&amp;quot; as some sort of index ?&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90828?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 14:41:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6394d1f0-2692-4ea1-b053-4c58b3d877f2</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;load(&lt;br /&gt; local!student: {&lt;br /&gt; { id: 1, name: &amp;quot;Kelly&amp;quot;, country: null },&lt;br /&gt; { id: 2, name: &amp;quot;Jason&amp;quot;, country: null },&lt;br /&gt; { id: 3, name: &amp;quot;David&amp;quot;, country: null }&lt;br /&gt; },&lt;br /&gt; local!subject: {&lt;br /&gt; {&lt;br /&gt; subId: 1,&lt;br /&gt; studentId: 1,&lt;br /&gt; subject: &amp;quot;English&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 2,&lt;br /&gt; studentId: 1,&lt;br /&gt; subject: &amp;quot;Science&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 3,&lt;br /&gt; studentId: 1,&lt;br /&gt; subject: &amp;quot;Maths&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 4,&lt;br /&gt; studentId: 2,&lt;br /&gt; subject: &amp;quot;English&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 5,&lt;br /&gt; studentId: 2,&lt;br /&gt; subject: &amp;quot;Science&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 6,&lt;br /&gt; studentId: 2,&lt;br /&gt; subject: &amp;quot;Maths&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 4,&lt;br /&gt; studentId: 3,&lt;br /&gt; subject: &amp;quot;English&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 5,&lt;br /&gt; studentId: 3,&lt;br /&gt; subject: &amp;quot;Science&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 6,&lt;br /&gt; studentId: 3,&lt;br /&gt; subject: &amp;quot;Maths&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; }&lt;br /&gt; },&lt;br /&gt; a!formLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!gridLayout(&lt;br /&gt; headerCells: {&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Student&amp;quot;),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Country&amp;quot;),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Subject&amp;quot;),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Status&amp;quot;),&lt;/p&gt;
&lt;p&gt;},&lt;br /&gt; columnConfigs: {&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;)&lt;br /&gt; },&lt;br /&gt; rows: a!forEach(&lt;br /&gt; items: local!subject,&lt;br /&gt; expression: a!localVariables(&lt;br /&gt; local!studentIndex: tointeger(&lt;br /&gt; wherecontains(fv!item.studentId, local!student.id)&lt;br /&gt; )[1],&lt;br /&gt; a!gridRowLayout(&lt;br /&gt; id: fv!index,&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; readOnly: true,&lt;br /&gt; value: local!student[wherecontains(fv!item.studentId, local!student.id)].name&lt;br /&gt; ),&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: { &amp;quot;country 1&amp;quot;, &amp;quot;Country 2&amp;quot; },&lt;br /&gt; choiceValues: { &amp;quot;country 1&amp;quot;, &amp;quot;Country 2&amp;quot; },&lt;br /&gt; placeholder: &amp;quot;Select Country&amp;quot;,&lt;br /&gt; value: tostring(&lt;br /&gt; local!student[local!studentIndex].country&lt;br /&gt; ),&lt;br /&gt; saveInto: {&lt;br /&gt; local!student[local!studentIndex].country&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!textField(readOnly: true, value: fv!item.subject),&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: { &amp;quot;Pass&amp;quot;, &amp;quot;Fail&amp;quot; },&lt;br /&gt; choiceValues: { &amp;quot;Pass&amp;quot;, &amp;quot;Fail&amp;quot; },&lt;br /&gt; placeholder: &amp;quot;Select Status&amp;quot;,&lt;br /&gt; value: fv!item.status&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; buttons: a!buttonLayout(&lt;br /&gt; primaryButtons: {&lt;br /&gt; a!buttonWidget(&lt;br /&gt; label :&amp;quot;Submit&amp;quot;,&lt;br /&gt; style:&amp;quot;PRIMARY&amp;quot;,&lt;br /&gt; value:true,&lt;br /&gt; saveInto: {&lt;br /&gt; a!writeToMultipleDataStoreEntities(&lt;br /&gt; valuesToStore: {&lt;br /&gt; a!entityData(&lt;br /&gt; entity: cons!student_data_store_entity,&lt;br /&gt; data:local!student&lt;br /&gt; ),&lt;br /&gt; a!entityData(&lt;br /&gt; entity: cons!subject_data_store_entity,&lt;br /&gt; data:local!subject&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; onSuccess: {&lt;br /&gt; a!save(&lt;br /&gt; local!student,&lt;br /&gt; fv!storedValues[1]&lt;br /&gt; ),&lt;br /&gt; a!save(&lt;br /&gt; local!subject,&lt;br /&gt; fv!storedValues[2]&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1644331169789v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;on submit data will be written to database table.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90826?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 14:32:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38590626-5c4f-47cb-8e9e-02261eebe846</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;your requirement is update and country, status and write it back to DB?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90824?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 13:56:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ce26c95-2410-48ae-93c3-dd6336eceb0e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;When implemented in a &amp;quot;real&amp;quot; task as opposed to an example that anyone can copy and paste, generally you would be acting directly upon the student data (i.e. via &amp;quot;ri!student&amp;quot;), rather than in a local variable.&amp;nbsp; Sometimes it&amp;#39;s necessary to do such processing on a local variable instead, and in those cases you can simply save the contents of the local variable back into the rule input when the user clicks the Submit button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90821?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 13:34:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ec7445c-40cd-4cfe-9842-29204ccb19ca</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;FYI, code like the above will be considerably easier to read if you use the Code Box feature here.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1644327284175v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90812?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 07:57:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:173780bf-810e-414e-90da-ef0cd332e76b</guid><dc:creator>Pranav K</dc:creator><description>&lt;p&gt;Yeah that&amp;#39;s correct But I want to handle it on interface level and just pass rule inputs to process model to update my tables.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90811?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 07:54:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f6c1223-650c-40d0-9495-48d2f9609502</guid><dc:creator>Pranav K</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/jasmithak990"&gt;jasmithak&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Above code does exactly what I want, the only issue I am facing is how to save this data in rule input which I&amp;#39;ll be passing in process model to update my tables.&lt;br /&gt;&lt;br /&gt;thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90798?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 05:01:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d667b4b4-00a4-4676-969e-8df663e30e95</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;load(&lt;br /&gt; local!student: {&lt;br /&gt; { id: 1, name: &amp;quot;Kelly&amp;quot;, country: null },&lt;br /&gt; { id: 2, name: &amp;quot;Jason&amp;quot;, country: null },&lt;br /&gt; { id: 3, name: &amp;quot;David&amp;quot;, country: null }&lt;br /&gt; },&lt;br /&gt; local!subject: {&lt;br /&gt; {&lt;br /&gt; subId: 1,&lt;br /&gt; studentId: 1,&lt;br /&gt; subject: &amp;quot;English&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 2,&lt;br /&gt; studentId: 1,&lt;br /&gt; subject: &amp;quot;Science&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 3,&lt;br /&gt; studentId: 1,&lt;br /&gt; subject: &amp;quot;Maths&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 4,&lt;br /&gt; studentId: 2,&lt;br /&gt; subject: &amp;quot;English&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 5,&lt;br /&gt; studentId: 2,&lt;br /&gt; subject: &amp;quot;Science&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 6,&lt;br /&gt; studentId: 2,&lt;br /&gt; subject: &amp;quot;Maths&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 4,&lt;br /&gt; studentId: 3,&lt;br /&gt; subject: &amp;quot;English&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 5,&lt;br /&gt; studentId: 3,&lt;br /&gt; subject: &amp;quot;Science&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; {&lt;br /&gt; subId: 6,&lt;br /&gt; studentId: 3,&lt;br /&gt; subject: &amp;quot;Maths&amp;quot;,&lt;br /&gt; status: &amp;quot;&amp;quot;&lt;br /&gt; }&lt;br /&gt; },&lt;br /&gt; a!formLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!gridLayout(&lt;br /&gt; headerCells: {&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Student&amp;quot;),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Country&amp;quot;),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Subject&amp;quot;),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Status&amp;quot;),&lt;/p&gt;
&lt;p&gt;},&lt;br /&gt; columnConfigs: {&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;)&lt;br /&gt; },&lt;br /&gt; rows: a!forEach(&lt;br /&gt; items: local!subject,&lt;br /&gt; expression: a!localVariables(&lt;br /&gt; local!studentIndex: tointeger(&lt;br /&gt; wherecontains(fv!item.studentId, local!student.id)&lt;br /&gt; )[1],&lt;br /&gt; a!gridRowLayout(&lt;br /&gt; id: fv!index,&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; readOnly: true,&lt;br /&gt; value: local!student[wherecontains(fv!item.studentId, local!student.id)].name&lt;br /&gt; ),&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: { &amp;quot;country 1&amp;quot;, &amp;quot;Country 2&amp;quot; },&lt;br /&gt; choiceValues: { &amp;quot;country 1&amp;quot;, &amp;quot;Country 2&amp;quot; },&lt;br /&gt; placeholder: &amp;quot;Select Country&amp;quot;,&lt;br /&gt; value: tostring(&lt;br /&gt; local!student[local!studentIndex].country&lt;br /&gt; ),&lt;br /&gt; saveInto: {&lt;br /&gt; local!student[local!studentIndex].country&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!textField(readOnly: true, value: fv!item.subject),&lt;br /&gt; a!dropdownField(&lt;br /&gt; choiceLabels: { &amp;quot;Pass&amp;quot;, &amp;quot;Fail&amp;quot; },&lt;br /&gt; choiceValues: { &amp;quot;Pass&amp;quot;, &amp;quot;Fail&amp;quot; },&lt;br /&gt; placeholder: &amp;quot;Select Status&amp;quot;,&lt;br /&gt; value: fv!item.status&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&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 : update common Fields</title><link>https://community.appian.com/thread/90797?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 04:25:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05d58481-30db-4b65-9533-08e6e4ec9dfb</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi, So I assume that initially country field is blank and in grid also it will be showing as blank. In this case ,once user selects any value from country drop-down,you can use write to data store entity smart service in save into of this field or you can have this data in a local variable and once user submits the form you can update all data at once in process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90791?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 19:38:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06b88959-3670-4da4-b747-e2659410cf13</guid><dc:creator>Pranav K</dc:creator><description>&lt;p&gt;Thank you Mike for the quick reply,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;well this ain&amp;#39;t my actual scenario but justifies what I want to do with the grid,&lt;br /&gt;So in my actual use case I am using view which is formed using&amp;nbsp; two tables as the data for editable grid,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;So based on that for above data you can say studentCountry and studentName will be kept unique in &amp;quot;student data&amp;quot; table and the subject &amp;amp; status will be coming from some another table &amp;quot;subject status&amp;quot; table&lt;br /&gt;&lt;br /&gt;&amp;quot;student data&amp;quot; table is going to have one to many relationship with&amp;nbsp; &amp;quot;subject status&amp;quot; table.&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid : update common Fields</title><link>https://community.appian.com/thread/90790?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 18:50:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f2c0caa-04d5-43b8-953e-0cdcc49a576a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;There are various potential approaches to this, but choosing which approach really kinda depends on the structure of your CDT and how you&amp;#39;re using it in your interface.&amp;nbsp; For example.. is the &amp;quot;student country&amp;quot; data really duplicated across every row of student/subject data?&amp;nbsp; Or is it kept separate somewhere (i.e. just relative to a single Student entry)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>