<?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>Update to table in database</title><link>https://community.appian.com/discussions/f/user-interface/37358/update-to-table-in-database</link><description>Hi All 
 
 I am trying to update one value to the table ,Field name is preferred_txt created in child UI called in the code which is pasted above . 
 I need to write that preferred_txt value to the db on save and save draft buttons. How can i do that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/140011?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 14:27:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23e351cc-48db-40c6-82bf-c905fcd64fa5</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="75078" url="~/discussions/f/user-interface/37358/update-to-table-in-database/139980"]On top of that Need to provide a dropdown field of single selection and values of dropdown is(T0,T1,T2),Since grid which holding cdt itself is a array[/quote]
&lt;p&gt;I don&amp;#39;t understand what you&amp;#39;re saying the expected outcome should be when you select a value from this dropdown.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139980?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 02:54:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:031dbdd4-2de7-4af3-8e1d-ab2c40118dc8</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;ok. I have a grid&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724726945092v1.png" alt=" " /&gt;for this code is attached&lt;pre class="ui-code" data-mode="text"&gt;a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesSell_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesBuy_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        )
      },
      spacing: &amp;quot;NONE&amp;quot;
    )&lt;/pre&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724727051723v2.png" alt=" " /&gt; and variables/rule inputs are provided in the screenshot. On top of that Need to provide a dropdown field of single selection and values of dropdown is(T0,T1,T2),Since grid which holding cdt itself is a array ,how would i look for solution for this? Any inputs&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139959?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 13:52:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:43b5ff74-ead8-483f-8e9b-4fc2d71a6c6b</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;okay let me explain you.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesSell_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesBuy_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        )
      },
      spacing: &amp;quot;NONE&amp;quot;
    )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Attached Code is for this grid&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724679540006v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;variables/Rule inputs are these&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724680173777v3.png" alt=" " /&gt;,So On top of that needed one dropdown field with values like Y,N,NA.that should update for all 6 rows(Bcoz of Above code )/somehow I have to achieve to update in the same table(CR_AS_FX_RATES) ,How do I achieve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139879?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:33:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd6db81d-803c-4493-8bd1-aa205ad2d260</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="75078" url="~/discussions/f/user-interface/37358/update-to-table-in-database/139868"]This is what trying to achieve[/quote]
&lt;p&gt;sorry but Stefan is still right - you haven&amp;#39;t really clearly said what you&amp;#39;re trying to accomplish with this, it&amp;#39;s all pretty convoluted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139868?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 07:36:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ff50cf8-7c59-430b-b36d-4c4159eb8eb7</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;&lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;, This is what trying to achieve&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139866?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 06:47:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c3f9944-b547-484b-a4e3-03be27394ce0</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I still have a hard time understanding what you want to achieve. As soon as we have mastered this challenge, I might be able to suggest a solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139864?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 06:15:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fb1f2091-2d5d-4607-85b5-415a54c07b4e</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;what is the solution for that ,Could u please suggest?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139852?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 20:36:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc755b64-241c-44a8-86d7-41c7bcc553fa</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;From your screenshot, first you&amp;#39;re overwriting &amp;quot;ri!crFxRatesFromDb_cdt&amp;quot; with the value of &amp;quot;local!crFxRatesFromDb_cdt&amp;quot; (which is, i assume, intentional and correct)&lt;/p&gt;
&lt;p&gt;Then the very next a!save statement, you&amp;#39;re overwriting the value AGAIN but this time trying to overwrite it with the (plaintext?!?) value of &amp;quot;ri!preffered_txt&amp;quot;&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll have to straighten out this mess first.&amp;nbsp; I&amp;#39;m not sure what you&amp;#39;re trying to do overall but this won&amp;#39;t work as-is.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724358998854v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139849?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 17:22:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:025b2e55-b687-4655-964a-e9d1f1b247aa</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!cardLayout(
  contents: {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!dropdownField(
              placeholder: &amp;quot;SELECT&amp;quot;,
              label: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[22],
              choiceLabels: cons!CR_APP_TXT_CHOICE_LABELS_T0_T1_T2,
              choiceValues: cons!CR_APP_TXT_CHOICE_LABELS_T0_T1_T2,
              value: ri!preffered_txt,
              saveInto: ri!preffered_txt,
              disabled: ri!isReadOnly_bool,
              
            )
          },
          width: &amp;quot;NARROW&amp;quot;
        )
      }
    ),
    rule!CR_RT_displayRichTextHeader(
      /*&amp;quot;FX Rates&amp;quot;*/
      input_txt: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[4],
      caption_txt: rule!CR_DSC_getAccountStrategyToolTipsByFields(
        FieldName: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[4]
      )
    ),
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesSell_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesBuy_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        )
      },
      spacing: &amp;quot;NONE&amp;quot;
    )
  },
  style: &amp;quot;NONE&amp;quot;,
  height: &amp;quot;AUTO&amp;quot;,
  marginBelow: &amp;quot;STANDARD&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724346627617v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;what I am trying to do here ,Fx rates is a grid which we made it as array variable and on top of that newly dropdown has been added and As we know that dropdown is a single selection and according to the above code same cdt has been taken and How do I update the dropdown value i.e preferredRate_txt to the same cdt which should not impact existing implementation. on save of buttons how do I manage that value to table?&lt;/p&gt;
&lt;p&gt;below would be parent rule of the above code&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!crFeesComments_cdt: rule!CR_FN_getModuleComments(
    crModuleComments: ri!crModuleComments_cdt,
    commentId_int: cons!CR_AS_COMMENT_IDS[1]
  ),
  local!crPricingApprovalComments_cdt: rule!CR_FN_getModuleComments(
    crModuleComments: ri!crModuleComments_cdt,
    commentId_int: cons!CR_AS_COMMENT_IDS[2]
  ),
  local!crFxRatesBuy_cdt: index(
    ri!crFxRatesFromDb_cdt,
    wherecontains(
      { 1, 2, 3 },
      index(
        ri!crFxRatesFromDb_cdt,
        &amp;quot;seqNumber_int&amp;quot;,
        {}
      )
    ),
    {}
  ),
  local!crFxRatesSell_cdt: index(
    ri!crFxRatesFromDb_cdt,
    wherecontains(
      { 4, 5, 6 },
      index(
        ri!crFxRatesFromDb_cdt,
        &amp;quot;seqNumber_int&amp;quot;,
        {}
      )
    ),
    {}
  ),
  {
    rule!CR_RT_displayInformativeNote(
      pageName_txt: cons!CR_TXT_SECTION_NAMES_TODISPLAY_AMOUNT[3]
    ),
    rule!CR_SC_AS_displayROCOverview(
      cif_int: ri!cif_int,
      systemRequestId_int: ri!systemRequestId_int,
      crRocOverview_cdt: ri!crRocOverview_cdt
    ),
    rule!CR_SC_AS_displayFeeDetails(
      isReadOnly_bool: ri!isReadOnly_bool,
      isActive_bool: ri!isActive_bool,
      crFeeDetails_cdt: ri!crFeeDetails_cdt
    ),
    rule!CR_RTF_UI_displayRichTextFieldEditorComponent(
      moduleId_int: ri!moduleId_int,
      crModuleComments_cdt: ri!crModuleComments_cdt,
      placeHolder_txt: { &amp;quot;please enter value&amp;quot; },
      cif_int: ri!cif_int,
      commentId_int: cons!CR_AS_COMMENT_IDS[1],
      instructions_txt: null,
      isReadOnly_bool: ri!isReadOnly_bool,
      inputComment_cdt: local!crFeesComments_cdt,
      requestId_int: ri!requestId_int,
      role_txt: ri!role_txt,
      label_txt: cons!CR_LAB_COMMENT,
      isRequired_bool: false(),
      value_txt: clean(
        rule!CR_APP_FN_cleanRichTextEditorString(
          index(
            rule!CR_FN_getModuleComments(
              crModuleComments: ri!crModuleComments_cdt,
              commentId_int: cons!CR_AS_COMMENT_IDS[1]
            ),
            &amp;quot;comment_txt&amp;quot;,
            {}
          )
        )
      ),
      helpTooltip_txt: null,
      
    ),
    rule!CR_SC_AS_displayFXRates(
      isReadOnly_bool: ri!isReadOnly_bool,
      isActive_bool: ri!isActive_bool,
      crFxRatesBuy_cdt: local!crFxRatesBuy_cdt,
      crFxRatesSell_cdt: local!crFxRatesSell_cdt,
      preffered_txt: ri!preffered_txt
    ),
    rule!CR_SC_AS_displayTariffBanding(
      isReadOnly_bool: ri!isReadOnly_bool,
      crTariffBanding_cdt: ri!crTariffBanding_cdt
    ),
    rule!CR_SC_AS_displayPricingDetails(
      cif_int: ri!cif_int,
      isReadOnly_bool: ri!isReadOnly_bool,
      requestId_int: ri!requestId_int,
      crPricingApprovals_cdt: ri!crPricingApprovals_cdt,
      uploadedDocIds_int: ri!uploadedDocIds_int,
      moduleId_int: ri!moduleId_int,
      isDashboard_bool: ri!isDashboard_bool
    ),
    rule!CR_RTF_UI_displayRichTextFieldEditorComponent(
      moduleId_int: ri!moduleId_int,
      crModuleComments_cdt: ri!crModuleComments_cdt,
      placeHolder_txt: { &amp;quot;please enter value&amp;quot; },
      cif_int: ri!cif_int,
      commentId_int: cons!CR_AS_COMMENT_IDS[2],
      instructions_txt: null,
      isReadOnly_bool: ri!isReadOnly_bool,
      inputComment_cdt: local!crPricingApprovalComments_cdt,
      requestId_int: ri!requestId_int,
      role_txt: ri!role_txt,
      label_txt: cons!CR_LAB_COMMENT,
      isRequired_bool: ri!isActive_bool,
      value_txt: clean(
        rule!CR_APP_FN_cleanRichTextEditorString(
          index(
            rule!CR_FN_getModuleComments(
              crModuleComments: ri!crModuleComments_cdt,
              commentId_int: cons!CR_AS_COMMENT_IDS[2]
            ),
            &amp;quot;comment_txt&amp;quot;,
            {}
          )
        )
      ),
      helpTooltip_txt: rule!CR_DSC_getAccountStrategyToolTipsByFields(
        FieldName: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[6]
      )
    ),
    a!columnsLayout(
      showWhen: if(
        rule!APN_isBlank(ri!isReadOnly_bool),
        true,
        not(ri!isReadOnly_bool)
      ),
      columns: {
        a!columnLayout(
          width: &amp;quot;AUTO&amp;quot;,
          contents: {
            rule!CR_UI_displayMessageCard(save_dt: ri!save_dt)
          }
        ),
        a!columnLayout(
          width: &amp;quot;NARROW&amp;quot;,
          contents: {
            a!buttonArrayLayout(
              align: &amp;quot;END&amp;quot;,
              buttons: {
                a!buttonWidget(
                  label: cons!APN_TXT_SAVE_DRAFT,
                  value: cons!APN_TXT_SAVE,
                  submit: true(),
                  saveInto: {
                    a!save(
                      ri!buttonAction_txt,
                      cons!APN_TXT_SAVE_DRAFT
                    ),
                    a!save(
                      ri!crFxRatesFromDb_cdt,
                      local!crFxRatesBuy_cdt
                    ),
                    a!save(
                      ri!crFxRatesFromDb_cdt,
                      append(
                        ri!crFxRatesFromDb_cdt,
                        local!crFxRatesSell_cdt
                      )
                    ),
                    a!save(
                      ri!crFxRatesFromDb_cdt,
                      ri!preffered_txt
                    ),
                    rule!CR_FN_storeModuleStatusHistory(
                      moduleRecommendationStatus_cdt: ri!moduleRecommendationStatus_cdt,
                      requestId_int: ri!requestId_int,
                      cif_int: ri!cif_int,
                      role_txt: ri!role_txt,
                      originalExpiry_dt: ri!originalExpiry_dt,
                      moduleStatus_txt: cons!CR_AS_MODULE_STATUS[1],
                      crModuleStatusHistory_cdt: ri!crModuleStatusHistory_cdt,
                      moduleId_int: ri!moduleId_int,
                      workflowId_int: ri!workflowId_int,
                      buttonAction_txt: cons!APN_TXT_SAVE_DRAFT,
                      currentNetROC_dec: ri!crRocOverview_cdt.currentNetRoc_dec
                    ),
                    rule!CR_FN_AS_storeFeeDetails(
                      crFeeDetails_cdt: ri!crFeeDetails_cdt,
                      requestId_int: ri!requestId_int,
                      cif_int: ri!cif_int,
                      moduleId_int: ri!moduleId_int
                    ),
                    rule!CR_FN_AS_storeFXRates(
                      crFxRatesFromDb_cdt: ri!crFxRatesFromDb_cdt
                    ),
                    rule!CR_FN_AS_storeTariffBanding(
                      crTariffBanding_cdt: ri!crTariffBanding_cdt
                    ),
                    rule!CR_FN_AS_storePricingApprovals(
                      crPricingApprovals_cdt: ri!crPricingApprovals_cdt
                    ),
                    a!save(
                      ri!docSectionName_txt,
                      cons!CR_AS_SECTION_NAME[1]
                    ),
                    a!writeToMultipleDataStoreEntities(
                      valuesToStore: {
                        a!entityData(
                          entity: cons!CR_ENTITY_MODULE_COMMENTS,
                          data: ri!crModuleComments_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_MODULE_STATUS_HISTORY,
                          data: ri!crModuleStatusHistory_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_FEE_DETAILS,
                          data: ri!crFeeDetails_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_FX_RATES,
                          data: ri!crFxRatesFromDb_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_TARIFF_BANDING,
                          data: ri!crTariffBanding_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_PRICING_APPROVALS,
                          data: ri!crPricingApprovals_cdt
                        )
                      },
                      onSuccess: {
                        a!save(
                          ri!crModuleComments_cdt,
                          index(fv!storedValues, 1, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crModuleStatusHistory_cdt,
                          index(fv!storedValues, 2, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crFeeDetails_cdt,
                          index(fv!storedValues, 3, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crFxRatesFromDb_cdt,
                          index(fv!storedValues, 4, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crTariffBanding_cdt,
                          index(fv!storedValues, 5, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crPricingApprovals_cdt,
                          index(fv!storedValues, 6, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!moduleRecommendationStatus_cdt,
                          rule!CR_FN_getModuleStatusHistoryByStatus(
                            crModuleStatusHistory_cdt: ri!crModuleStatusHistory_cdt
                          )
                        ),
                        a!save(
                          local!crFeesComments_cdt,
                          rule!CR_FN_getModuleComments(
                            crModuleComments: ri!crModuleComments_cdt,
                            commentId_int: cons!CR_AS_COMMENT_IDS[1]
                          )
                        ),
                        a!save(
                          local!crPricingApprovalComments_cdt,
                          rule!CR_FN_getModuleComments(
                            crModuleComments: ri!crModuleComments_cdt,
                            commentId_int: cons!CR_AS_COMMENT_IDS[2]
                          )
                        ),
                        a!save(ri!save_dt, now())
                      }
                    )
                  },
                  style: &amp;quot;NORMAL&amp;quot;,
                  validate: false()
                ),
                a!buttonWidget(
                  label: cons!APN_TXT_SAVE,
                  value: cons!APN_TXT_SAVE,
                  submit: true(),
                  saveInto: {
                    a!save(ri!buttonAction_txt, cons!APN_TXT_SAVE),
                    a!save(
                      ri!crFxRatesFromDb_cdt,
                      local!crFxRatesBuy_cdt
                    ),
                    a!save(
                      ri!crFxRatesFromDb_cdt,
                      append(
                        ri!crFxRatesFromDb_cdt,
                        local!crFxRatesSell_cdt
                      )
                    ),
                    a!save(
                      ri!crFxRatesFromDb_cdt,
                      ri!preffered_txt
                    ),
                    rule!CR_FN_storeModuleStatusHistory(
                      moduleRecommendationStatus_cdt: ri!moduleRecommendationStatus_cdt,
                      requestId_int: ri!requestId_int,
                      cif_int: ri!cif_int,
                      role_txt: ri!role_txt,
                      originalExpiry_dt: ri!originalExpiry_dt,
                      moduleStatus_txt: cons!CR_AS_MODULE_STATUS[1],
                      crModuleStatusHistory_cdt: ri!crModuleStatusHistory_cdt,
                      moduleId_int: ri!moduleId_int,
                      workflowId_int: ri!workflowId_int,
                      buttonAction_txt: cons!APN_TXT_SAVE,
                      currentNetROC_dec: ri!crRocOverview_cdt.currentNetRoc_dec
                    ),
                    rule!CR_FN_AS_storeFeeDetails(
                      crFeeDetails_cdt: ri!crFeeDetails_cdt,
                      requestId_int: ri!requestId_int,
                      cif_int: ri!cif_int,
                      moduleId_int: ri!moduleId_int
                    ),
                    rule!CR_FN_AS_storeFXRates(
                      crFxRatesFromDb_cdt: ri!crFxRatesFromDb_cdt
                    ),
                    rule!CR_FN_AS_storeTariffBanding(
                      crTariffBanding_cdt: ri!crTariffBanding_cdt
                    ),
                    rule!CR_FN_AS_storePricingApprovals(
                      crPricingApprovals_cdt: ri!crPricingApprovals_cdt
                    ),
                    a!save(
                      ri!docSectionName_txt,
                      cons!CR_AS_SECTION_NAME[1]
                    ),
                    a!writeToMultipleDataStoreEntities(
                      valuesToStore: {
                        a!entityData(
                          entity: cons!CR_ENTITY_MODULE_COMMENTS,
                          data: ri!crModuleComments_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_MODULE_STATUS_HISTORY,
                          data: ri!crModuleStatusHistory_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_FEE_DETAILS,
                          data: ri!crFeeDetails_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_FX_RATES,
                          data: ri!crFxRatesFromDb_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_TARIFF_BANDING,
                          data: ri!crTariffBanding_cdt
                        ),
                        a!entityData(
                          entity: cons!CR_ENTITY_AS_PRICING_APPROVALS,
                          data: ri!crPricingApprovals_cdt
                        )
                      },
                      onSuccess: {
                        a!save(
                          ri!crModuleComments_cdt,
                          index(fv!storedValues, 1, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crModuleStatusHistory_cdt,
                          index(fv!storedValues, 2, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crFeeDetails_cdt,
                          index(fv!storedValues, 3, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crFxRatesFromDb_cdt,
                          index(fv!storedValues, 4, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crTariffBanding_cdt,
                          index(fv!storedValues, 5, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!crPricingApprovals_cdt,
                          index(fv!storedValues, 6, &amp;quot;data&amp;quot;, {})
                        ),
                        a!save(
                          ri!moduleRecommendationStatus_cdt,
                          rule!CR_FN_getModuleStatusHistoryByStatus(
                            crModuleStatusHistory_cdt: ri!crModuleStatusHistory_cdt
                          )
                        ),
                        a!save(
                          local!crFeesComments_cdt,
                          rule!CR_FN_getModuleComments(
                            crModuleComments: ri!crModuleComments_cdt,
                            commentId_int: cons!CR_AS_COMMENT_IDS[1]
                          )
                        ),
                        a!save(
                          local!crPricingApprovalComments_cdt,
                          rule!CR_FN_getModuleComments(
                            crModuleComments: ri!crModuleComments_cdt,
                            commentId_int: cons!CR_AS_COMMENT_IDS[2]
                          )
                        ),
                        a!save(ri!save_dt, now())
                      }
                    )
                  },
                  style: &amp;quot;NORMAL&amp;quot;,
                  validate: true
                )
              }
            )
          }
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139827?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 13:45:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b7c24c1-d037-4edc-a3a4-bca3c1a60758</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="75078" url="~/discussions/f/user-interface/37358/update-to-table-in-database/139818"]a!save(&lt;br /&gt; ri!crFxRatesFromDb_cdt,&lt;br /&gt; ri!preffered_txt&lt;br /&gt; ),[/quote]
&lt;p&gt;When looking a this code snippet, I am confused. Why do you try to store a text into CDT type? I think try to get&amp;nbsp;a better understanding of what you actually want to do.&lt;/p&gt;
&lt;p&gt;Again, when I try to find the best solution for a given problem, I first try to solve this in a separate expression. I create some local variables and investigate how to solve this in the best way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139823?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 13:31:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93b843fb-0969-4030-8fcf-52c47f9df2fd</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;According to the above code can u plz provide me solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139821?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 13:08:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f2b60ca-8440-41fc-ba66-405cd3fdf053</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;When I try to append something, I use the append() function. Did you try that?&lt;/p&gt;
&lt;p&gt;When things do not work for me, I try to replicate the challenge in isolation in a separate expression. Once I understand how to achieve my goal, I merge that code, or just the solution, into my final solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139819?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 12:52:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:144a286b-6c1d-4aa1-bde4-95329e50b16d</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Reason why I am following up that approach bcoz I want to update dropdown value to cdt.Here&amp;nbsp;crFxRatesSell_cdt and&amp;nbsp;crFxRatesBuy_cdt are belongs to same table. I have to update the dropdown(Single selection value) value that is preferredRate_txt to same table . How would i do that ?&amp;nbsp; Any different approach?&lt;pre class="ui-code" data-mode="text"&gt;a!cardLayout(
  contents: {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!dropdownField(
              placeholder: &amp;quot;SELECT&amp;quot;,
              label: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[22],
              choiceLabels: cons!CR_APP_TXT_CHOICE_LABELS_T0_T1_T2,
              choiceValues: cons!CR_APP_TXT_CHOICE_LABELS_T0_T1_T2,
              value: ri!preffered_txt,
              saveInto: ri!preffered_txt,
              disabled: ri!isReadOnly_bool,
              
            )
          },
          width: &amp;quot;NARROW&amp;quot;
        )
      }
    ),
    rule!CR_RT_displayRichTextHeader(
      /*&amp;quot;FX Rates&amp;quot;*/
      input_txt: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[4],
      caption_txt: rule!CR_DSC_getAccountStrategyToolTipsByFields(
        FieldName: cons!CR_LAB_ACCOUNT_STRATEGY_ALL_FIELDS[4]
      )
    ),
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesSell_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        ),
        a!columnLayout(
          contents: {
            a!gridLayout(
              /*label: &amp;quot;FX Rates&amp;quot;,*/
              labelPosition: &amp;quot;COLLAPSED&amp;quot;,
              spacing: &amp;quot;DENSE&amp;quot;,
              headerCells: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutHeaderCell(
                    label: if(
                      contains(3, fv!index),
                      fv!item &amp;amp; cons!CR_TXT_DISPLAY_ASTERISK,
                      fv!item
                    ),
                    align: if(
                      contains({ 2, 3 }, fv!index),
                      &amp;quot;RIGHT&amp;quot;,
                      &amp;quot;LEFT&amp;quot;
                    )
                  )
                )
              },
              columnConfigs: {
                a!forEach(
                  items: cons!CR_GD_LABEL_FX_RATES,
                  expression: a!gridLayoutColumnConfig(
                    width: if(fv!isFirst, &amp;quot;NARROW&amp;quot;, &amp;quot;DISTRIBUTE&amp;quot;)
                  )
                )
              },
              rows: {
                a!forEach(
                  items: ri!crFxRatesBuy_cdt,
                  expression: a!gridRowLayout(
                    contents: {
                      a!textField(
                        readOnly: true(),
                        value: fv!item.tariffType_txt
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        readOnly: true(),
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountExisting_dec,
                          decPlace_int: 4
                        )
                      ),
                      a!textField(
                        align: &amp;quot;RIGHT&amp;quot;,
                        required: ri!isActive_bool,
                        value: rule!CR_FN_setDecimalValues(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          decPlace_int: 4
                        ),
                        validations: rule!CR_FN_setMaximumNumberValidation(
                          value_dec: fv!item.tariffAmountProposed_dec,
                          maxLength_int: 10
                        ),
                        saveInto: {
                          fv!item.tariffAmountProposed_dec,
                          a!save(
                            fv!item.preferredRate_txt,
                            ri!preffered_txt
                          )
                        },
                        disabled: ri!isReadOnly_bool
                      )
                    }
                  )
                )
              }
            )
          }
        )
      },
      spacing: &amp;quot;NONE&amp;quot;
    )
  },
  style: &amp;quot;NONE&amp;quot;,
  height: &amp;quot;AUTO&amp;quot;,
  marginBelow: &amp;quot;STANDARD&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139818?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 12:26:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:00b80304-54b8-4a5c-aa24-a1d0aa039737</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Yeah I have one issue.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1724329445598v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I am trying append preffered_txt to cdt that is&lt;/p&gt;
&lt;p&gt;&amp;nbsp;a!save(&lt;br /&gt; ri!crFxRatesFromDb_cdt,&lt;br /&gt; ri!preffered_txt&lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;But getting this error -&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error [evaluation ID = 3R3L0] in rule &amp;#39;cr_sc_as_capturereturnsandpricingdetails&amp;#39; : An error occurred while executing a save: Could not cast from Text to CR_AS_FXRates. Details: CastInvalid.&amp;nbsp; How to append text to the cdt?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update to table in database</title><link>https://community.appian.com/thread/139817?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 12:21:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17792055-7e24-4239-bbe8-d80395cc257a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yeah ... well, I already see some write to datastore calls in your button. So my question is: What is going wrong? Do you have any specific issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>