<?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: Select values in a Field using Extension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864206#M302472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Javascript to put your records into an array, and then pass the array into the QV function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14368851067177380 jive_text_macro" jivemacro_uid="_14368851067177380" modifiedtitle="true"&gt;
&lt;P&gt;//Use Javascript to get an array with your values -- you can write some code here to get this&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;var raceRecords = ["asian", "african", "american"];&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Then pass into QlikView&lt;/P&gt;
&lt;P&gt;this.Data.SelectTextsInColumn(0, false, raceRecords);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info on the QV function, so you know what to set your parameters to:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P class="fixedFont" style="color: #002ebe; font-family: 'Courier New', Courier, monospace; font-size: 13px;"&gt;&lt;SPAN class="light" style="color: #777777; font-style: italic;"&gt;{void}&lt;/SPAN&gt;&lt;STRONG&gt;SelectTextsInColumn&lt;/STRONG&gt;(Column, toggle, recordsToSelect)&lt;/P&gt;
&lt;P class="description" style="padding: 4px; color: #000000; font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;STRONG&gt;Note!&lt;/STRONG&gt; Only available for Extensions.&lt;BR /&gt;Selects the visible textrecords in an Extension. Each record you want to select is sent as a parameter to the function - infinite number of parameters are accepted - OR include the records in an array and pass in the array. The parameters must match the textrecord exactly. Use search-function if you instead want to select all possible records for a string.&lt;/P&gt;
&lt;PRE class="code" style="padding: 8px; border-left-width: 1px; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; color: #000000; font-size: 12px;"&gt;Example: // Multiple parameters this.Data.SelectTextsInColumn(0, false, "George Washington", "Thomas Jefferson"); // Array var arrRecords = ["George Washington", "Thomas Jefferson"]; this.Data.SelectTextsInColumn(0, false, arrRecords);&lt;/PRE&gt;&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;

&lt;DL class="detailList" style="margin-left: 20px; color: #000000; font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;DT class="heading" style="margin-top: 7px; font-weight: bold; padding-bottom: 6px;"&gt;Parameters:&lt;/DT&gt;&lt;DT style="margin-left: 20px; margin-top: 7px;"&gt;&lt;SPAN class="fixedFont light" style="color: #777777; font-family: 'Courier New', Courier, monospace; font-size: 13px; font-style: italic;"&gt;{colNo}&lt;/SPAN&gt;&lt;STRONG&gt;Column&lt;/STRONG&gt;&lt;/DT&gt;&lt;DD&gt;to select in.&lt;/DD&gt;&lt;DT style="margin-left: 20px; margin-top: 7px;"&gt;&lt;SPAN class="fixedFont light" style="color: #777777; font-family: 'Courier New', Courier, monospace; font-size: 13px; font-style: italic;"&gt;{Boolean}&lt;/SPAN&gt;&lt;STRONG&gt;toggle&lt;/STRONG&gt;&lt;EM&gt;Optional&lt;/EM&gt;&lt;/DT&gt;&lt;DD&gt;If true, existing selections will be kept (or deselected if selected again).&lt;/DD&gt;&lt;DT style="margin-left: 20px; margin-top: 7px;"&gt;&lt;SPAN class="fixedFont light" style="color: #777777; font-family: 'Courier New', Courier, monospace; font-size: 13px; font-style: italic;"&gt;{Array|String[]}&lt;/SPAN&gt;&lt;STRONG&gt;recordsToSelect&lt;/STRONG&gt;&lt;/DT&gt;&lt;DD&gt;Either an array or multiple parameters for each record.&lt;/DD&gt;&lt;/DL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 14:47:53 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2015-07-14T14:47:53Z</dc:date>
    <item>
      <title>Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864202#M302468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to do some selection using Extension object , lets say i have 3 fields age , sex and race i just want to make selection to these field using&amp;nbsp; Javascript API but&amp;nbsp; i not able to find one ( i should have been simple ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say i have 3 ages 24,25,46&amp;nbsp; in an array &lt;BR /&gt;ie &lt;/P&gt;&lt;P&gt;var age=[24,25,49];&lt;BR /&gt;var sex='Male';&lt;BR /&gt;var race='Asian';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to select these values to their respective fields in extension code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how it can be achieved ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;s_tushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 18:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864202#M302468</guid>
      <dc:creator />
      <dc:date>2015-07-13T18:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864203#M302469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want the SelectTextsInColumn() function in your javascript.&amp;nbsp; Information about this function can be found here: &lt;A href="https://qlikcommunity.s3.amazonaws.com/misc/symbols/Qv.Document.Object.Data.html#SelectTextsInColumn" title="https://qlikcommunity.s3.amazonaws.com/misc/symbols/Qv.Document.Object.Data.html#SelectTextsInColumn"&gt;JsDoc Reference - Qv.Document.Object.Data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 21:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864203#M302469</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2015-07-13T21:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864204#M302470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the replies&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What i want to do in my code is that i have a String with this format :&amp;nbsp; FieldName:Fieldvalue1,fieldValue2,FieldValue3; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;BR /&gt;var string = "sex:Male,female ;race:asian,african;american ";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Javscript string handling code for Each Field name pick its Field value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Qlikview Code within that loop which will apply selection for each field&amp;nbsp;&amp;nbsp; &amp;lt;-- this is what i am looking into right now .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 06:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864204#M302470</guid>
      <dc:creator />
      <dc:date>2015-07-14T06:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864205#M302471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Nicole ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the replies&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What i want to do in my code is that i have a String with this format :&amp;nbsp; FieldName:Fieldvalue1,fieldValue2,FieldValue3; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Example &lt;BR /&gt;var string = "gender:Male,female ;race:asian,african;american ";&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;//Javscript string handling code for Each Field name pick its Field value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;// Qlikview Code within that loop which will apply selection for each field&amp;nbsp;&amp;nbsp; &amp;lt;-- this is what i am looking into right now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864205#M302471</guid>
      <dc:creator />
      <dc:date>2015-07-14T11:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864206#M302472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Javascript to put your records into an array, and then pass the array into the QV function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14368851067177380 jive_text_macro" jivemacro_uid="_14368851067177380" modifiedtitle="true"&gt;
&lt;P&gt;//Use Javascript to get an array with your values -- you can write some code here to get this&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;var raceRecords = ["asian", "african", "american"];&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Then pass into QlikView&lt;/P&gt;
&lt;P&gt;this.Data.SelectTextsInColumn(0, false, raceRecords);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info on the QV function, so you know what to set your parameters to:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P class="fixedFont" style="color: #002ebe; font-family: 'Courier New', Courier, monospace; font-size: 13px;"&gt;&lt;SPAN class="light" style="color: #777777; font-style: italic;"&gt;{void}&lt;/SPAN&gt;&lt;STRONG&gt;SelectTextsInColumn&lt;/STRONG&gt;(Column, toggle, recordsToSelect)&lt;/P&gt;
&lt;P class="description" style="padding: 4px; color: #000000; font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;STRONG&gt;Note!&lt;/STRONG&gt; Only available for Extensions.&lt;BR /&gt;Selects the visible textrecords in an Extension. Each record you want to select is sent as a parameter to the function - infinite number of parameters are accepted - OR include the records in an array and pass in the array. The parameters must match the textrecord exactly. Use search-function if you instead want to select all possible records for a string.&lt;/P&gt;
&lt;PRE class="code" style="padding: 8px; border-left-width: 1px; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; color: #000000; font-size: 12px;"&gt;Example: // Multiple parameters this.Data.SelectTextsInColumn(0, false, "George Washington", "Thomas Jefferson"); // Array var arrRecords = ["George Washington", "Thomas Jefferson"]; this.Data.SelectTextsInColumn(0, false, arrRecords);&lt;/PRE&gt;&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;

&lt;DL class="detailList" style="margin-left: 20px; color: #000000; font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;DT class="heading" style="margin-top: 7px; font-weight: bold; padding-bottom: 6px;"&gt;Parameters:&lt;/DT&gt;&lt;DT style="margin-left: 20px; margin-top: 7px;"&gt;&lt;SPAN class="fixedFont light" style="color: #777777; font-family: 'Courier New', Courier, monospace; font-size: 13px; font-style: italic;"&gt;{colNo}&lt;/SPAN&gt;&lt;STRONG&gt;Column&lt;/STRONG&gt;&lt;/DT&gt;&lt;DD&gt;to select in.&lt;/DD&gt;&lt;DT style="margin-left: 20px; margin-top: 7px;"&gt;&lt;SPAN class="fixedFont light" style="color: #777777; font-family: 'Courier New', Courier, monospace; font-size: 13px; font-style: italic;"&gt;{Boolean}&lt;/SPAN&gt;&lt;STRONG&gt;toggle&lt;/STRONG&gt;&lt;EM&gt;Optional&lt;/EM&gt;&lt;/DT&gt;&lt;DD&gt;If true, existing selections will be kept (or deselected if selected again).&lt;/DD&gt;&lt;DT style="margin-left: 20px; margin-top: 7px;"&gt;&lt;SPAN class="fixedFont light" style="color: #777777; font-family: 'Courier New', Courier, monospace; font-size: 13px; font-style: italic;"&gt;{Array|String[]}&lt;/SPAN&gt;&lt;STRONG&gt;recordsToSelect&lt;/STRONG&gt;&lt;/DT&gt;&lt;DD&gt;Either an array or multiple parameters for each record.&lt;/DD&gt;&lt;/DL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 14:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864206#M302472</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2015-07-14T14:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864207#M302473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to select Multiple Fields also here&amp;nbsp; ( No of fields will be dynamic )&amp;nbsp; . Here in the above example we can select only one field ie for 'Race ' field . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how we can Loop through list of Field apply its selection using FieldValues in an Extension object ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864207#M302473</guid>
      <dc:creator />
      <dc:date>2015-07-14T16:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864208#M302474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Javascript to write the loop.&amp;nbsp; What kind of loop is dependent on what the rest of your code and values end up looking like.&amp;nbsp; You'll most likely use a for loop.&amp;nbsp; Information on loops can be found here: &lt;A href="http://www.w3schools.com/js/js_loop_for.asp" title="http://www.w3schools.com/js/js_loop_for.asp"&gt;JavaScript for Loop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864208#M302474</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2015-07-14T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select values in a Field using Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864209#M302475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code which you mentioned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.Data.SelectTextIsInColumn() ; this code will work only for the Dimension field which we set for the extension &lt;BR /&gt;my requirement is to&amp;nbsp; have a String Format&amp;nbsp; ie ( FieldName1:Fielvalue1,fieldvalue2 ; FielName2:Fieldvalue1,fieldvalue2) &lt;BR /&gt;example&amp;nbsp;&amp;nbsp;&amp;nbsp; (Fruit : Apple , Peach , Mango ; Vegetable : Potato , Carrot . Spinach ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so from the above string&amp;nbsp; i need to&amp;nbsp; Do a Select Field on Fruit Field and Vegetable field respectively .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a code to loop through the string pick of the FieldName &amp;amp; FieldValue within the loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var currentSelectionQv =_this.Layout.Text0.text;&amp;nbsp; // This will be the String containg the fieldname and fieldvalues i mentioed above &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp; alert('Value from Expression ' + currentSelectionQv);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var arrSelectionLines = currentSelectionQv.split(lineDelimiter);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (arrSelectionLines.length &amp;gt; 0 &amp;amp;&amp;amp; arrSelectionLines[0] != '-') {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i = 0; i &amp;lt; arrSelectionLines.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var line = arrSelectionLines&lt;I&gt;;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var tagPos = line.indexOf(tagDelimiter);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fieldName = line.substr(0, tagPos);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fieldValues = line.substr(tagPos + 1, line.length - tagPos).split(valueDelimiter);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Here i have the field name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; alert(fieldName); // Selected Field Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // to add dimension:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // Here i have its selected values&lt;/P&gt;&lt;P&gt;&amp;nbsp; alert(fieldValues); //Select Field Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// I need a code to basically Select the field within this loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 05:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-in-a-Field-using-Extension/m-p/864209#M302475</guid>
      <dc:creator />
      <dc:date>2015-07-15T05:40:58Z</dc:date>
    </item>
  </channel>
</rss>

