<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: User interface for select tool in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/600261#M134032</link>
    <description>&lt;P&gt;Hi &lt;A href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/49596" target="_self"&gt;&lt;SPAN class="login-bold"&gt;Thableaus&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for the solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the workflow you shared if we select all columns then there will be some error in select tool as there is no column is remaining &lt;EM&gt;&lt;FONT face="batang,apple gothic"&gt;deselected and to be outputted&lt;/FONT&gt; &lt;/EM&gt;from that select tool. This issue will be solved if we pass a dummy column before that select tool as I did in the workflow attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need another branch which outputs the selected columns also , for this I have changed your work flow ( Please find the attached workflow ) in which one branch outputs selected columns and next branch outputs the remaining columns which are not selected.&lt;BR /&gt;Case 1 ( working fine &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; -- If we select all columns then I get only that dummy column&amp;nbsp; outputted in "deselected data.yxdb".&amp;nbsp; No error occurs in this case.&lt;BR /&gt;Case 2 ( I am facing an issue ) :&amp;nbsp; if we don't select any column then I am getting an error in the branch for &lt;EM&gt;columns which are selected&lt;/EM&gt;. Actually in this case I need to avoid this error by outputting the dummy column through that select tool into "selected data.yxdb"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Friends , please share me if any fix to solve this issue.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 13:13:52 GMT</pubDate>
    <dc:creator>Namshad</dc:creator>
    <dc:date>2020-07-08T13:13:52Z</dc:date>
    <item>
      <title>User interface for select tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/585703#M129437</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to give an interface for select tool, Please find the attached workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Namshad_0-1591799285764.png" style="width: 241px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/117600i35D8D9A3199A968C/image-dimensions/241x163?v=v2" width="241" height="163" role="button" title="Namshad_0-1591799285764.png" alt="Namshad_0-1591799285764.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I am selecting the required columns using list box, users can select which specific columns they require to be outputted and it is working. But how can I deselect some specific columns using a user interface, that is all columns should be outputted except those are selected by the user.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:16:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/585703#M129437</guid>
      <dc:creator>Namshad</dc:creator>
      <dc:date>2023-06-01T21:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: User interface for select tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/585764#M129456</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/145974"&gt;@Namshad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an approach:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thableaus_0-1591803075015.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/117620i2FC80DA7FE8D7364/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thableaus_0-1591803075015.png" alt="Thableaus_0-1591803075015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thableaus_1-1591803100116.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/117621i6CE3EA94264C6F5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thableaus_1-1591803100116.png" alt="Thableaus_1-1591803100116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- You need to change the Select Tool Mode to Generate a Custom List - watch out you need to leave "Start" and "End" in blank and "Separator" as a single comma (,).&lt;/P&gt;&lt;P&gt;- Then, for the action Tool, you need to update the Raw XML with a formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' &amp;lt;SelectFields&amp;gt;&lt;BR /&gt;&amp;lt;SelectField field="' + replace(EscapeXMLMetacharacters([#1]), ",", '" selected="False" /&amp;gt;&lt;BR /&gt;&amp;lt;SelectField field="') + '" selected="False" /&amp;gt;&lt;BR /&gt;&amp;lt;SelectField field="*Unknown" selected="True" /&amp;gt;&lt;BR /&gt;&amp;lt;/SelectFields&amp;gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a tough Formula to understand at first. But the main part of the formula resides here:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;replace(EscapeXMLMetacharacters([#1]), ",", '" selected="False" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;SelectField field="')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, imagine that the list of fields to be deselected will come like this if the user selects the first 4 of them in the List Box interface.&lt;/P&gt;&lt;P&gt;Emp_ID, Emp_Name, Age, salary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of the formula is replacing the comma (,) between each field by this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;" selected="False" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;SelectField field="&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's basically closing out the expression that deselects a Field (changes it to False) and then starts the following after that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a little bit hard to understand, but it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:17:09 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/585764#M129456</guid>
      <dc:creator>Thableaus</dc:creator>
      <dc:date>2023-06-01T21:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: User interface for select tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/585812#M129479</link>
      <description>&lt;P class="lia-align-left"&gt;Thank you! This solution worked well.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 16:39:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/585812#M129479</guid>
      <dc:creator>Namshad</dc:creator>
      <dc:date>2020-06-10T16:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: User interface for select tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/600261#M134032</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/49596" target="_self"&gt;&lt;SPAN class="login-bold"&gt;Thableaus&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for the solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the workflow you shared if we select all columns then there will be some error in select tool as there is no column is remaining &lt;EM&gt;&lt;FONT face="batang,apple gothic"&gt;deselected and to be outputted&lt;/FONT&gt; &lt;/EM&gt;from that select tool. This issue will be solved if we pass a dummy column before that select tool as I did in the workflow attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need another branch which outputs the selected columns also , for this I have changed your work flow ( Please find the attached workflow ) in which one branch outputs selected columns and next branch outputs the remaining columns which are not selected.&lt;BR /&gt;Case 1 ( working fine &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; -- If we select all columns then I get only that dummy column&amp;nbsp; outputted in "deselected data.yxdb".&amp;nbsp; No error occurs in this case.&lt;BR /&gt;Case 2 ( I am facing an issue ) :&amp;nbsp; if we don't select any column then I am getting an error in the branch for &lt;EM&gt;columns which are selected&lt;/EM&gt;. Actually in this case I need to avoid this error by outputting the dummy column through that select tool into "selected data.yxdb"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Friends , please share me if any fix to solve this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:13:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/600261#M134032</guid>
      <dc:creator>Namshad</dc:creator>
      <dc:date>2020-07-08T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: User interface for select tool</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/1141902#M282248</link>
      <description>&lt;P&gt;let's say you wanted to use the list box to update a select tool and a formula tool.&amp;nbsp; could you leave the quotation marks in the separator to satisfy the formula tool, then in the action tool connected to the select tool, where the action tool is configured to update raw xml, you could surround the double quotations with single?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:20:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/User-interface-for-select-tool/m-p/1141902#M282248</guid>
      <dc:creator>ckelley0</dc:creator>
      <dc:date>2023-06-01T21:20:37Z</dc:date>
    </item>
  </channel>
</rss>

