<?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 Passing parameters to Access Point URL to override OnActivate sheet tigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74145#M782304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am well aware of passing parameters to Access Point URL, but I am facing the following issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have a List Box containing some Report names, I pass &amp;amp;sheet=SH100&amp;amp;select=LB01,'ReportName1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the OnActivate Sheet Trigger. I want a default selection to be made if nothing is selected.&lt;/P&gt;&lt;P&gt;However, this is overriding my list box selection in Access Point URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:-&lt;/P&gt;&lt;P&gt;OnActivate Sheet trigger:-&lt;/P&gt;&lt;P&gt;Field name:-&amp;nbsp; Dynamic_ReportName&lt;/P&gt;&lt;P&gt;Search String:-&amp;nbsp; IF(MATCH(&lt;SPAN style="font-size: 13.3333px;"&gt;Dynamic_ReportName, 'ReportName1'&lt;/SPAN&gt;), 'ReportName1', 'ReportName2')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OnLeave Sheet Trigger:-&lt;/P&gt;&lt;P&gt;Clear Field:- &lt;SPAN style="font-size: 13.3333px;"&gt;Dynamic_ReportName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when i hit the URL with &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;sheet=SH100&amp;amp;select=LB01,'ReportName1' it goes to ReportName2 and on refreshing the webpage, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;it selects &lt;SPAN style="font-size: 13.3333px;"&gt;ReportName1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This problem is scalable to multiple reportnames (say, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; under a sheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>kshirtan</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Passing parameters to Access Point URL to override OnActivate sheet tigger</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74145#M782304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am well aware of passing parameters to Access Point URL, but I am facing the following issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have a List Box containing some Report names, I pass &amp;amp;sheet=SH100&amp;amp;select=LB01,'ReportName1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the OnActivate Sheet Trigger. I want a default selection to be made if nothing is selected.&lt;/P&gt;&lt;P&gt;However, this is overriding my list box selection in Access Point URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:-&lt;/P&gt;&lt;P&gt;OnActivate Sheet trigger:-&lt;/P&gt;&lt;P&gt;Field name:-&amp;nbsp; Dynamic_ReportName&lt;/P&gt;&lt;P&gt;Search String:-&amp;nbsp; IF(MATCH(&lt;SPAN style="font-size: 13.3333px;"&gt;Dynamic_ReportName, 'ReportName1'&lt;/SPAN&gt;), 'ReportName1', 'ReportName2')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OnLeave Sheet Trigger:-&lt;/P&gt;&lt;P&gt;Clear Field:- &lt;SPAN style="font-size: 13.3333px;"&gt;Dynamic_ReportName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when i hit the URL with &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;sheet=SH100&amp;amp;select=LB01,'ReportName1' it goes to ReportName2 and on refreshing the webpage, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;it selects &lt;SPAN style="font-size: 13.3333px;"&gt;ReportName1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This problem is scalable to multiple reportnames (say, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; under a sheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74145#M782304</guid>
      <dc:creator>kshirtan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Access Point URL to override OnActivate sheet tigger</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74146#M782305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try the search string like&lt;/P&gt;&lt;P&gt;IF(&lt;STRONG&gt;SubStringCount(GetFieldSelections&lt;/STRONG&gt;(Dynamic_ReportName,','), 'ReportName1')&amp;gt;0, 'ReportName1', 'ReportName2')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74146#M782305</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-03-23T10:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Access Point URL to override OnActivate sheet tigger</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74147#M782306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasidhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the search string like you suggested:-&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SubStringCount(GetFieldSelections&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Dynamic_ReportName), 'ReportName1')&amp;gt;0, 'ReportName1', 'ReportName2')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The problem that I am facing is that the the URL is not picking the parameter passed for the sheet I open first.&lt;/P&gt;&lt;P&gt;But it works fine for the successive sheets that I open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following solutions:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Field event Triggers:-&lt;/P&gt;&lt;P&gt;OnSelect :- &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GetFieldSelections&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Dynamic_ReportName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OnChange :- &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(1) Clear Field:- &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dynamic_ReportName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(2) Select in Field :- &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GetFieldSelections&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Dynamic_ReportName)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and I am passing the URL as:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp;sheet=SH100&amp;amp;select=LB01,'ReportName1'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp;select=LB01,'ReportName1'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So that it would work due to Onchange field atleast for the 1st tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Also, I read that for AJAX, the OnActivate trigger or Document event Triggers don't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;That doesn't seem to be the case for me as it works for all the sheets I open after my first sheet (all through URL with parameters for sheet id and listbox selection).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tanmay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Access-Point-URL-to-override-OnActivate/m-p/74147#M782306</guid>
      <dc:creator>kshirtan</dc:creator>
      <dc:date>2018-03-26T13:51:00Z</dc:date>
    </item>
  </channel>
</rss>

