<?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 Get numeric field value from current selections in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-numeric-field-value-from-current-selections/m-p/1835741#M15571</link>
    <description>&lt;P&gt;I have a web application with a Qlik iFrame where I want to reapply&amp;nbsp; selections from one sheet onto another sheet, after setting the iFrame source to the new sheet url. The problem I have is that when I use the C# method GetCurrentSelection on an appId&amp;nbsp; and my session I get all my current selections, but I only get the Text property of the selection, if the field is of a numeric type, how can I get those selected numeric values? When I apply the selections on the new sheet I use the command "app.GetField(THE_FIELDNAME).SelectValues(LIST_OF_FIELD_VALUES, true)". Each FieldValue have the properties Text, IsNumeric and Number. The text fields work as expected and I can apply them without problem, but to apply the numeric selections I need to set IsNumeric = true and Number to a value of type double. Is there any way to check if the field is numeric when getting the selections, and also get the numeric value, instead of the Text value?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;/Bobby&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 17:00:14 GMT</pubDate>
    <dc:creator>bcqlikuser</dc:creator>
    <dc:date>2021-09-13T17:00:14Z</dc:date>
    <item>
      <title>Get numeric field value from current selections</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-numeric-field-value-from-current-selections/m-p/1835741#M15571</link>
      <description>&lt;P&gt;I have a web application with a Qlik iFrame where I want to reapply&amp;nbsp; selections from one sheet onto another sheet, after setting the iFrame source to the new sheet url. The problem I have is that when I use the C# method GetCurrentSelection on an appId&amp;nbsp; and my session I get all my current selections, but I only get the Text property of the selection, if the field is of a numeric type, how can I get those selected numeric values? When I apply the selections on the new sheet I use the command "app.GetField(THE_FIELDNAME).SelectValues(LIST_OF_FIELD_VALUES, true)". Each FieldValue have the properties Text, IsNumeric and Number. The text fields work as expected and I can apply them without problem, but to apply the numeric selections I need to set IsNumeric = true and Number to a value of type double. Is there any way to check if the field is numeric when getting the selections, and also get the numeric value, instead of the Text value?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;/Bobby&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 17:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-numeric-field-value-from-current-selections/m-p/1835741#M15571</guid>
      <dc:creator>bcqlikuser</dc:creator>
      <dc:date>2021-09-13T17:00:14Z</dc:date>
    </item>
  </channel>
</rss>

