<?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: How to use QFieldSelections() API in Mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642474#M11684</link>
    <description>&lt;P&gt;Hi AAZ,&amp;nbsp; Thanks for your reply. Its new learning for me .&lt;/P&gt;&lt;P&gt;Can i put generic object into variable like below. Also i did not understand these Sentence "&lt;SPAN&gt;The selectionState method doesn't have a field filter&lt;/SPAN&gt;"&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var vSelectedCustomer=app.createGenericObject({
  user: {
    qStringExpression: "=GetFieldSelections([Customer Name])"
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i want to achieve is ..I have created 2 web pages&amp;nbsp; one for IT department and second one is for HR department ....if user select any customer from [customer name] field and if selected user belongs to IT department then IT department web page will be visible ..similarly for HR department as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IT and HR these two values in one field called "Department"..So i want to put selected "Customer Name's department into variable so that i can switch on respective web page accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 10:00:32 GMT</pubDate>
    <dc:creator>sarfaraz_sheikh</dc:creator>
    <dc:date>2019-11-04T10:00:32Z</dc:date>
    <item>
      <title>How to use QFieldSelections() API in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642401#M11682</link>
      <description>&lt;P&gt;Dear Folks,&lt;/P&gt;&lt;P&gt;Can you please help regarding How to use Below API in Mashup as i saw there is no example given in Qlik help site for these API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;QFieldSelections()&lt;/P&gt;&lt;P&gt;what i want to achieve is if i select any customer then it should set in one variable same as we do in Qlik like below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;vSelectedCustomer=GetFieldSelections([Customer Name);&lt;/P&gt;&lt;P&gt;Now we can achieve these in mashup as i am new to web technologies and my knowledge is very limited into CSS HTML and Javascript. Help would be&amp;nbsp; much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarfaraz&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 06:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642401#M11682</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2019-11-04T06:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use QFieldSelections() API in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642422#M11683</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45130"&gt;@sarfaraz_sheikh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I would suggest you to use `createGenericObject`&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2019/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/AppAPI/createGenericObject-method.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/September2019/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/AppAPI/createGenericObject-method.htm&lt;/A&gt;&amp;nbsp;ex:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;app.createGenericObject({
  user: {
    qStringExpression: "=GetFieldSelections([Customer Name])"
});&lt;/LI-CODE&gt;
&lt;P&gt;The selectionState method doesn't have a field filter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 07:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642422#M11683</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2019-11-04T07:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use QFieldSelections() API in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642474#M11684</link>
      <description>&lt;P&gt;Hi AAZ,&amp;nbsp; Thanks for your reply. Its new learning for me .&lt;/P&gt;&lt;P&gt;Can i put generic object into variable like below. Also i did not understand these Sentence "&lt;SPAN&gt;The selectionState method doesn't have a field filter&lt;/SPAN&gt;"&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var vSelectedCustomer=app.createGenericObject({
  user: {
    qStringExpression: "=GetFieldSelections([Customer Name])"
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i want to achieve is ..I have created 2 web pages&amp;nbsp; one for IT department and second one is for HR department ....if user select any customer from [customer name] field and if selected user belongs to IT department then IT department web page will be visible ..similarly for HR department as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IT and HR these two values in one field called "Department"..So i want to put selected "Customer Name's department into variable so that i can switch on respective web page accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 10:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-use-QFieldSelections-API-in-Mashup/m-p/1642474#M11684</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2019-11-04T10:00:32Z</dc:date>
    </item>
  </channel>
</rss>

