<?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>Custom Search Popup in Appian</title><link>https://community.appian.com/discussions/f/user-interface/11660/custom-search-popup-in-appian</link><description>Hello, 
 My requirement is: 
 1. Implement search popup on a button that displays rows in grid (search results are based on database view -CDT). 
 2. Able to select rows (user can select only one row at a time) in grid. 
 3. Selected row values are saved</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Custom Search Popup in Appian</title><link>https://community.appian.com/thread/51369?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2018 05:59:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac0df7ee-58bc-4b3e-a16e-84e2a7e0af8d</guid><dc:creator>bpmnewb</dc:creator><description>Hello  ,&lt;br /&gt;
&lt;br /&gt;
How do you make it come to the original form? Would it not allow user to edit anything on the original form? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am trying to use a!boxlayout to achieve the result and looks like the control is still on the same form. &lt;br /&gt;
&lt;br /&gt;
Below is my code: &lt;br /&gt;
&lt;br /&gt;
a!boxLayout(&lt;br /&gt;
label: &amp;quot;ISO Search Results&amp;quot;,&lt;br /&gt;
contents: {&lt;br /&gt;
a!gridField(&lt;br /&gt;
label:&amp;quot;&amp;quot;,&lt;br /&gt;
totalCount: local!isoDataSubset.totalCount,&lt;br /&gt;
columns: {&lt;br /&gt;
a!gridTextColumn(&lt;br /&gt;
label: &amp;quot;Order Number&amp;quot;,&lt;br /&gt;
field: &amp;quot;order_number&amp;quot;,&lt;br /&gt;
data: index(local!isoDataSubset.data, &amp;quot;order_number&amp;quot;, null)&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
},&lt;br /&gt;
identifiers: index(local!isoDataSubset.data, &amp;quot;item_number&amp;quot; , {}),&lt;br /&gt;
selection:if(local!isoDataSubset.totalCount &amp;gt;0,true,false),&lt;br /&gt;
value: local!gridSelection,&lt;br /&gt;
saveInto: {&lt;br /&gt;
local!gridSelection&lt;br /&gt;
},&lt;br /&gt;
showWhen: if(local!isoDataSubset.totalCount &amp;gt;0,true,false),&lt;br /&gt;
validations:if(count(local!gridSelection.selected)&amp;gt;1, &amp;quot;You may only select one row&amp;quot;, null)&lt;br /&gt;
) ,&lt;br /&gt;
a!buttonArrayLayout(&lt;br /&gt;
buttons:{ a!buttonWidget(&lt;br /&gt;
label: &amp;quot;OK&amp;quot;,&lt;br /&gt;
style: &amp;quot;NORMAL&amp;quot;&lt;br /&gt;
),&lt;br /&gt;
a!buttonWidget(&lt;br /&gt;
label: &amp;quot;CANCEL&amp;quot;,&lt;br /&gt;
style: &amp;quot;NORMAL&amp;quot;,&lt;br /&gt;
saveInto: {}&lt;br /&gt;
)},&lt;br /&gt;
align: &amp;quot;END&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
}&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Search Popup in Appian</title><link>https://community.appian.com/thread/51368?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2018 05:14:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6ffb32a-6fa9-4166-9b72-1feecc5673c5</guid><dc:creator>bpmnewb</dc:creator><description>Hello ramanjaneyulut, &lt;br /&gt;
&lt;br /&gt;
How do you make it come to the original form? Would it not allow user to edit anything on the original form? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am trying to use a!boxlayout to achieve the result and looks like the control is still on the same form. &lt;br /&gt;
&lt;br /&gt;
Below is my code: &lt;br /&gt;
&lt;br /&gt;
a!boxLayout(&lt;br /&gt;
     label: &amp;quot;ISO Search Results&amp;quot;,&lt;br /&gt;
     contents: {&lt;br /&gt;
      a!gridField(&lt;br /&gt;
      label:&amp;quot;&amp;quot;,&lt;br /&gt;
      totalCount: local!isoDataSubset.totalCount,&lt;br /&gt;
      columns: {&lt;br /&gt;
        a!gridTextColumn(&lt;br /&gt;
          label: &amp;quot;Order Number&amp;quot;,&lt;br /&gt;
          field: &amp;quot;order_number&amp;quot;,&lt;br /&gt;
          data: index(local!isoDataSubset.data, &amp;quot;order_number&amp;quot;, null)&lt;br /&gt;
        )&lt;br /&gt;
        &lt;br /&gt;
      },&lt;br /&gt;
      identifiers: index(local!isoDataSubset.data, &amp;quot;item_number&amp;quot; , {}),&lt;br /&gt;
      selection:if(local!isoDataSubset.totalCount &amp;gt;0,true,false),&lt;br /&gt;
      value: local!gridSelection,&lt;br /&gt;
      saveInto: {&lt;br /&gt;
        local!gridSelection&lt;br /&gt;
      },&lt;br /&gt;
      showWhen: if(local!isoDataSubset.totalCount &amp;gt;0,true,false),&lt;br /&gt;
      validations:if(count(local!gridSelection.selected)&amp;gt;1, &amp;quot;You may only select one row&amp;quot;, null)&lt;br /&gt;
    ) ,&lt;br /&gt;
   a!buttonArrayLayout(&lt;br /&gt;
     buttons:{ a!buttonWidget(&lt;br /&gt;
          label: &amp;quot;OK&amp;quot;,&lt;br /&gt;
          style: &amp;quot;NORMAL&amp;quot;&lt;br /&gt;
        ),&lt;br /&gt;
        a!buttonWidget(&lt;br /&gt;
          label: &amp;quot;CANCEL&amp;quot;,&lt;br /&gt;
          style: &amp;quot;NORMAL&amp;quot;,&lt;br /&gt;
          saveInto: {}&lt;br /&gt;
        )},&lt;br /&gt;
        align: &amp;quot;END&amp;quot;&lt;br /&gt;
   )&lt;br /&gt;
     }&lt;br /&gt;
   )&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Search Popup in Appian</title><link>https://community.appian.com/thread/51367?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2018 05:08:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:58845dd0-f723-47ff-8ad6-abbf89ccfeaf</guid><dc:creator>Rama Thummala</dc:creator><description>&lt;a href="/members/rohita187"&gt;bpmnewb&lt;/a&gt; , Yes appian doesn&amp;#39;t support popups. Display another section on click of button and implement the search operation there. Have button to come to the original form with the selection upon clicking of button on search form. Hope it will help you..!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>