<?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>After unselecting value from picker field the values whatever we selected in editable gird also needs to removed</title><link>https://community.appian.com/discussions/f/user-interface/34045/after-unselecting-value-from-picker-field-the-values-whatever-we-selected-in-editable-gird-also-needs-to-removed</link><description>Hello, 
 In user interface we have picker field defined in that if we select one userprofie and later we are calling another subinterface in which we are selecting some products from list and whatever we have selected will be moving to editable grid </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: After unselecting value from picker field the values whatever we selected in editable gird also needs to removed</title><link>https://community.appian.com/thread/129538?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 05:07:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b28b1e95-6fcb-4b2a-b1b8-882cd2ee1585</guid><dc:creator>ashwinir5622</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!availableDataIndex,
  local!selectedDataIndex,
  local!selectedList,
  local!availableList: a!queryRecordType(
    recordType: &amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record&amp;#39;,
    fields: {
      &amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.relationships.{a942a3af-e482-44d5-8b81-7f2b396805a6}dilProductUserTrans&amp;#39;
    },
    pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 100)
  ).data,
  local!pickedProduct,
  local!pickSelectedProduct,
  local!access,
  {
    a!sectionLayout(
      contents: {
        a!richTextDisplayField(
          value: a!richTextHeader(text: &amp;quot;DIL Products&amp;quot;, size: &amp;quot;MEDIUM&amp;quot;)
        ),
        a!columnsLayout(
          columns: {
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!pickerFieldCustom(
                      label: &amp;quot;Products&amp;quot;,
                      labelPosition: &amp;quot;ABOVE&amp;quot;,
                      suggestFunction: rule!DIL_arrayPickerFilter(
                        filter: _,
                        labels: local!availableList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{d5cdf456-ad11-4102-8949-444cea5e1ff1}dilProduct&amp;#39;],
                        identifiers: local!availableList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;]
                      ),
                      selectedLabels: a!forEach(
                        items: local!pickedProduct,
                        expression: index(
                          local!availableList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{d5cdf456-ad11-4102-8949-444cea5e1ff1}dilProduct&amp;#39;],
                          wherecontains(
                            tointeger(fv!item),
                            tointeger(
                              local!availableList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;]
                            )
                          )
                        )
                      ),
                      value: local!pickedProduct,
                      saveInto: {
                        local!pickedProduct,
                        a!save(
                          local!availableList,
                          a!queryRecordType(
                            recordType: &amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record&amp;#39;,
                            filters: {
                              a!queryFilter(
                                field: &amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;,
                                operator: &amp;quot;in&amp;quot;,
                                value: tointeger(local!pickedProduct),
                                applyWhen: a!isNotNullOrEmpty(local!pickedProduct)
                              )
                            },
                            pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 100)
                          ).data
                        )/*a!save(*/
                        /*local!availableList,*/
                        /*remove(*/
                        /*local!availableList,*/
                        /*if(*/
                        /*rule!APN2_isBlank(local!selectedList),*/
                        /*{},*/
                        /*wherecontains(local!selectedList, local!availableList)*/
                        /*)*/
                        /*)*/
                        /*)*/
                        
                      },
                      validations: {}
                    ),
                    a!gridLayout(
                      headerCells: { &amp;quot;&amp;quot; },
                      rows: a!forEach(
                        local!availableList,
                        a!gridRowLayout(
                          id: fv!index,
                          contents: {
                            a!textField(
                              value: fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{d5cdf456-ad11-4102-8949-444cea5e1ff1}dilProduct&amp;#39;],
                              readOnly: true()
                            )
                          }
                        )
                      ),
                      selectionValue: local!availableDataIndex,
                      selectionSaveInto: local!availableDataIndex,
                      selectable: togroup(
                        ri!record[&amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.fields.{d05ec5c4-2ec2-45df-813f-59993f59acd5}profile&amp;#39;]
                      ) = a!groupsByName(&amp;quot;DIL Users&amp;quot;),
                      selectionStyle: &amp;quot;ROW_HIGHLIGHT&amp;quot;,
                      validations: {}
                    )
                  },
                  height: &amp;quot;TALL&amp;quot;,
                  style: &amp;quot;NONE&amp;quot;,
                  marginBelow: &amp;quot;STANDARD&amp;quot;
                )
              },
              width: &amp;quot;MEDIUM&amp;quot;
            ),
            a!columnLayout(
              contents: {
                a!buttonArrayLayout(
                  buttons: {
                    a!buttonWidget_23r3(
                      label: &amp;quot;LINK&amp;quot;,
                      style: &amp;quot;SECONDARY&amp;quot;,
                      disabled: or(
                        a!isNullOrEmpty(local!availableDataIndex),
                        count(local!availableList) = 0
                      ),
                      saveInto: {
                        /* Add chosen available items to selected list */
                        a!save(
                          local!selectedList,
                          append(
                            local!selectedList,
                            index(
                              local!availableList,
                              local!availableDataIndex,
                              {}
                            )
                          )
                        ),
                        /* Remove from available list */
                        a!save(
                          local!availableList,
                          remove(
                            local!availableList,
                            local!availableDataIndex
                          )
                        ),
                        /* Clear out choices */
                        a!save(local!availableDataIndex, null),
                        a!save(ri!record[&amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;],null()),
                        /*a!save(local!pickedProduct,null),*/
                        a!save(
                          local!access,
                          index(
                            local!selectedList[1],
                            &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                            null
                          )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]
                        ),
                        a!save(
                          ri!productUserTrans,
                          a!forEach(
                            local!selectedList,
                            &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans&amp;#39;(
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{b0c9f1de-b36b-4afa-a6c9-9e0d6a8d66c8}productId&amp;#39;: fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;],
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{ab90946c-3a00-48e8-bcaf-cc3b1ce00479}userId&amp;#39;: ri!record[&amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.fields.{27db380a-2a73-451f-9a40-96a5c543624b}id&amp;#39;],
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;: if(
                                and(a!isNullOrEmpty(index(
                                  fv!item,
                                  &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                                  null()
                                )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]),ri!allOpen=&amp;quot;AU&amp;quot;),
                                &amp;quot;U&amp;quot;,
                                if(
                                  and(a!isNullOrEmpty(index(
                                    fv!item,
                                    &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                                    null()
                                  )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]),ri!allBinded=&amp;quot;AB&amp;quot;),
                                  &amp;quot;B&amp;quot;,
                                  if(
                                    a!isNullOrEmpty(
                                      index(
                                        fv!item,
                                        &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                                        null()
                                      )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]
                                    ),
                                    &amp;quot;B&amp;quot;,
                                    index(
                                      fv!item,
                                      &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                                      null()
                                    )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]
                                  )

                                ),

                              ),
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{9c2b75ca-2fc6-450d-9607-2e418206f6c9}isActive&amp;#39;: 1
                            )
                          )
                        ),
                        
                      },
                      icon: if(
                        a!isPageWidth(&amp;quot;PHONE&amp;quot;),
                        &amp;quot;chevron-down&amp;quot;,
                        &amp;quot;chevron-right&amp;quot;
                      ),
                      width: &amp;quot;FILL&amp;quot;
                    ),
                    a!buttonWidget_23r3(
                      label: &amp;quot;LINK ALL&amp;quot;,
                      style: &amp;quot;SECONDARY&amp;quot;,
                      disabled: count(local!availableList) = 0,
                      saveInto: {
                        /* Add all available items to selected list */
                        a!save(
                          local!selectedList,
                          append(local!selectedList, local!availableList)
                        ),
                        /* Clear available list */
                        a!save(local!availableList, {}),
                        /* Clear out choices */
                        a!save(local!availableDataIndex, null),
                        a!save(
                          local!access,
                          index(
                            local!selectedList[1],
                            &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                            null
                          )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]
                        ),
                        a!save(
                          ri!productUserTrans,
                          a!forEach(
                            local!selectedList,
                            &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans&amp;#39;(
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{ab90946c-3a00-48e8-bcaf-cc3b1ce00479}userId&amp;#39;: ri!record[&amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.fields.{27db380a-2a73-451f-9a40-96a5c543624b}id&amp;#39;],
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{b0c9f1de-b36b-4afa-a6c9-9e0d6a8d66c8}productId&amp;#39;: fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;],
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;: if(
                                a!isNullOrEmpty(index(
                                  fv!item,
                                  &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                                  null
                                )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]),
                                &amp;quot;B&amp;quot;,
                                index(
                                  fv!item,
                                  &amp;#39;recordType!{63a0b9c7-fe03-4c99-8667-a1d9a63acf3f}DIL Users.relationships.{dce90eec-778e-4242-9525-6e284c59b8dc}dilProductUserTrans&amp;#39;,
                                  null
                                )[1][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]
                              ),
                              &amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{9c2b75ca-2fc6-450d-9607-2e418206f6c9}isActive&amp;#39;: 1
                            )
                          )
                        )
                      },
                      icon: &amp;quot;plus&amp;quot;,
                      width: &amp;quot;FILL&amp;quot;
                    )
                  },
                  align: &amp;quot;START&amp;quot;,
                  marginBelow: &amp;quot;EVEN_MORE&amp;quot;
                ),
                a!buttonArrayLayout(
                  buttons: {
                    a!buttonWidget_23r3(
                      label: &amp;quot;UNLINK&amp;quot;,
                      style: &amp;quot;SECONDARY&amp;quot;,
                      disabled: or(
                        a!isNullOrEmpty(local!selectedDataIndex),
                        length(local!selectedList) = 0
                      ),
                      saveInto: {
                        /* Add chosen selected items to available list */
                        a!save(
                          local!availableList,
                          append(
                            local!availableList,
                            index(
                              local!selectedList,
                              local!selectedDataIndex,
                              {}
                            )
                          )
                        ),
                        /* Remove from selected list */
                        a!save(
                          local!selectedList,
                          remove(
                            local!selectedList,
                            local!selectedDataIndex
                          )
                        ),
                        a!save(
                          ri!productUserTrans,
                          remove(
                            ri!productUserTrans,
                            local!selectedDataIndex
                          )
                        ),
                        
                        /* Clear out choices */
                        a!save(local!selectedDataIndex, null),
                        
                      },
                      icon: if(
                        a!isPageWidth(&amp;quot;PHONE&amp;quot;),
                        &amp;quot;chevron-up&amp;quot;,
                        &amp;quot;chevron-left&amp;quot;
                      ),
                      width: &amp;quot;FILL&amp;quot;
                    ),
                    a!buttonWidget_23r3(
                      label: &amp;quot;UNLINK ALL&amp;quot;,
                      style: &amp;quot;SECONDARY&amp;quot;,
                      disabled: count(local!selectedList) = 0,
                      saveInto: {
                        /* Add all selected items to available list */
                        a!save(
                          local!availableList,
                          append(local!selectedList, local!availableList)
                        ),
                        /* Clear selected list */
                        a!save(local!selectedList, {}),
                        /* Clear out choices */
                        a!save(local!selectedDataIndex, null),
                        a!save(ri!productUserTrans, null())
                      },
                      icon: &amp;quot;times&amp;quot;,
                      width: &amp;quot;FILL&amp;quot;
                    )
                  },
                  align: &amp;quot;START&amp;quot;
                )
              },
              width: &amp;quot;NARROW&amp;quot;
            ),
            a!columnLayout(
              contents: {
                a!cardLayout(
                  contents: {
                    a!pickerFieldCustom(
                      label: &amp;quot;Linked Products&amp;quot;,
                      labelPosition: &amp;quot;ABOVE&amp;quot;,
                      suggestFunction: rule!DIL_arrayPickerFilter(
                        filter: _,
                        labels: local!selectedList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{d5cdf456-ad11-4102-8949-444cea5e1ff1}dilProduct&amp;#39;],
                        identifiers: local!selectedList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;]
                      ),
                      selectedLabels: a!forEach(
                        items: local!pickSelectedProduct,
                        expression: index(
                          local!selectedList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{d5cdf456-ad11-4102-8949-444cea5e1ff1}dilProduct&amp;#39;],
                          wherecontains(
                            tointeger(fv!item),
                            tointeger(
                              local!selectedList[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;]
                            )
                          )
                        )
                      ),
                      value: local!pickSelectedProduct,
                      saveInto: {
                        local!pickSelectedProduct,
                        a!save(
                          local!selectedList,
                          a!queryRecordType(
                            recordType: &amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record&amp;#39;,
                            filters: {
                              a!queryFilter(
                                field: &amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{7fd8b879-c6ec-433f-8556-555835af5fbd}id&amp;#39;,
                                operator: &amp;quot;in&amp;quot;,
                                value: tostring(local!pickSelectedProduct),
                                applyWhen: a!isNotNullOrEmpty(local!pickSelectedProduct)
                              )
                            },
                            pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 100)
                          ).data
                        ),
                        a!save(
                          local!selectedList,
                          remove(
                            local!selectedList,
                            if(
                              rule!APN2_isBlank(local!availableList),
                              {},
                              wherecontains(local!availableList, local!selectedList)
                            )
                          )
                        )
                      },
                      validations: {}
                    ),
                    a!gridLayout(
                      emptyGridMessage: &amp;quot; &amp;quot;,
                      headerCells: {
                        a!gridLayoutHeaderCell(label: &amp;quot;&amp;quot;),
                        a!gridLayoutHeaderCell(label: &amp;quot;&amp;quot;)
                      },
                      columnConfigs: { a!gridLayoutColumnConfig(width: &amp;quot;ICON&amp;quot;) },
                      rows: a!forEach(
                        local!selectedList,
                        a!gridRowLayout(
                          id: fv!index,
                          contents: {
                            a!radioButtonField_23r3(
                              choiceLabels: { &amp;quot;B&amp;quot;, &amp;quot;U&amp;quot; },
                              choiceValues: { &amp;quot;B&amp;quot;, &amp;quot;U&amp;quot; },
                              value:  if(
                                a!isNullOrEmpty(fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.relationships.{a942a3af-e482-44d5-8b81-7f2b396805a6}dilProductUserTrans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]),
                                &amp;quot;B&amp;quot;,
                                if(
                                  ri!allOpen=&amp;quot;AU&amp;quot;,
                                  &amp;quot;U&amp;quot;,
                                  fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.relationships.{a942a3af-e482-44d5-8b81-7f2b396805a6}dilProductUserTrans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;]
                                )),
                                saveInto: {
                                  fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.relationships.{a942a3af-e482-44d5-8b81-7f2b396805a6}dilProductUserTrans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;],
                                  a!save(
                                    ri!productUserTrans[fv!index][&amp;#39;recordType!{4e3af057-0819-4e51-901a-b1f7328997fb}DIL Product User Trans.fields.{c439a729-191b-48b1-8c03-00845980893a}access&amp;#39;],
                                    save!value
                                  ),
                                  a!save(
                                    local!selectedList,
                                    if(a!isNullOrEmpty(ri!userProfile),
                                    null,
                                    {})
                                  ),
                                  a!save(
                                    ri!productUserTrans,
                                    if(a!isNullOrEmpty(ri!userProfile),
                                    null,
                                    {})
                                  )
                                  
                                },
                                disabled: if(
                                  or(ri!allOpen=&amp;quot;AU&amp;quot;,
                                 ri!allBinded=&amp;quot;AB&amp;quot; ),
                                true(),false),
                              choiceLayout: &amp;quot;COMPACT&amp;quot;
                            ),
                            a!textField(
                              value: fv!item[&amp;#39;recordType!{c47abb37-84f0-49eb-9b58-ae53de0b1b0e}DIL Product Master Record.fields.{d5cdf456-ad11-4102-8949-444cea5e1ff1}dilProduct&amp;#39;],
                              readOnly: true()
                            )
                          }
                        )
                      ),
                      selectionValue: local!selectedDataIndex,
                      selectionSaveInto:local!selectedDataIndex,
                      /*{local!selectedDataIndex,*/
                      /*if(*/
                        /*a!isNullOrEmpty(ri!userProfile),*/
                        /*a!save(local!selectedList, {}),*/
                        /*local!selectedDataIndex*/
                        /*),*/
                      /* Clear out choices */
                      /*if(*/
/*                        */
                        /*a!isNullOrEmpty(ri!userProfile),*/
                        /*a!save(local!selectedDataIndex, null),*/
                        /*local!selectedDataIndex),*/
                      /*if(*/
                        /*a!isNullOrEmpty(ri!userProfile),*/
                        /*a!save(ri!productUserTrans, null()),*/
                        /*local!selectedDataIndex*/
                        /*)*/
                        /*},*/
                      selectable: true(),
                      selectionStyle: &amp;quot;ROW_HIGHLIGHT&amp;quot;,
                      validations: {
                        /*if(*/
                        /*a!isNullOrEmpty(local!selectedList),*/
                        /*&amp;quot;At least one DIL Product is required&amp;quot;,*/
                        /*null*/
                        /*),*/
                        
                      }
                    )
                  },
                  height: &amp;quot;TALL&amp;quot;,
                  marginBelow: &amp;quot;STANDARD&amp;quot;
                )
              },
              width: &amp;quot;MEDIUM&amp;quot;
            ),
            a!columnLayout(contents: {})
          },
          alignVertical: &amp;quot;MIDDLE&amp;quot;
        ),
        a!buttonArrayLayout(
          buttons: a!buttonWidget_23r3(
            label: &amp;quot;Link&amp;quot;,
            value: &amp;quot;SAVE&amp;quot;,
            saveInto: { a!save(ri!button, &amp;quot;SAVE&amp;quot;) },
            showWhen: ri!actionType=&amp;quot;LinkProducts&amp;quot;,
            submit: true,

          )
        )
      },
      showWhen: not(ri!newUser = &amp;quot;CreateUser&amp;quot;)
    )
  }
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;PFA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After unselecting value from picker field the values whatever we selected in editable gird also needs to removed</title><link>https://community.appian.com/thread/129494?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:15:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd8182b3-3af4-493c-9480-33cee6b938c7</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/ashwinir5622"&gt;ashwinir5622&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you please show us the Code from your DIL Products interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After unselecting value from picker field the values whatever we selected in editable gird also needs to removed</title><link>https://community.appian.com/thread/129493?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:06:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7df37f55-5afe-4d45-9f0c-0211595b2ea7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Could it be that this component uses some local variables to manage state?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>