<?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 trigger not working in web view/server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/trigger-not-working-in-web-view-server/m-p/623272#M229377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have put the below expression in onanyselect action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13932468766629670" jivemacro_uid="_13932468766629670"&gt;
&lt;P&gt;=if(&lt;/P&gt;
&lt;P&gt;(GetSelectedCount(CrimeDates)=0) and&lt;/P&gt;
&lt;P&gt;(GetActiveSheetId()='Document\SH29' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH72' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH73' Or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH05' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH83'),&lt;/P&gt;
&lt;P&gt;date(max({$1}OffenseDateConv), 'M/D/YYYY'),&lt;/P&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;(GetSelectedCount(CrimeDates)&amp;gt;1) and&lt;/P&gt;
&lt;P&gt;(GetActiveSheetId()='Document\SH29' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH72' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH73' Or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH05' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH83'),&lt;/P&gt;
&lt;P&gt;date(max(CrimeDates), 'M/D/YYYY'),&lt;/P&gt;
&lt;P&gt;GetFieldSelections(CrimeDates)&lt;/P&gt;
&lt;P&gt;) ) &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This basically makes sure that there is always atleast one value selected in the crimedate. If there is no selected value, a max date will be selected. In desktop version, If I click on clear, it select the max date into crime date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if I put the dashboard on qlikview server or if i select webview in desktop version, clicking the clear button does not select the max value into the crime date. Can someone please explain the reason behind it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Feb 2014 13:03:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-24T13:03:17Z</dc:date>
    <item>
      <title>trigger not working in web view/server</title>
      <link>https://community.qlik.com/t5/QlikView/trigger-not-working-in-web-view-server/m-p/623272#M229377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have put the below expression in onanyselect action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13932468766629670" jivemacro_uid="_13932468766629670"&gt;
&lt;P&gt;=if(&lt;/P&gt;
&lt;P&gt;(GetSelectedCount(CrimeDates)=0) and&lt;/P&gt;
&lt;P&gt;(GetActiveSheetId()='Document\SH29' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH72' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH73' Or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH05' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH83'),&lt;/P&gt;
&lt;P&gt;date(max({$1}OffenseDateConv), 'M/D/YYYY'),&lt;/P&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;(GetSelectedCount(CrimeDates)&amp;gt;1) and&lt;/P&gt;
&lt;P&gt;(GetActiveSheetId()='Document\SH29' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH72' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH73' Or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH05' or&lt;/P&gt;
&lt;P&gt;GetActiveSheetId()='Document\SH83'),&lt;/P&gt;
&lt;P&gt;date(max(CrimeDates), 'M/D/YYYY'),&lt;/P&gt;
&lt;P&gt;GetFieldSelections(CrimeDates)&lt;/P&gt;
&lt;P&gt;) ) &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This basically makes sure that there is always atleast one value selected in the crimedate. If there is no selected value, a max date will be selected. In desktop version, If I click on clear, it select the max date into crime date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if I put the dashboard on qlikview server or if i select webview in desktop version, clicking the clear button does not select the max value into the crime date. Can someone please explain the reason behind it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 13:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trigger-not-working-in-web-view-server/m-p/623272#M229377</guid>
      <dc:creator />
      <dc:date>2014-02-24T13:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: trigger not working in web view/server</title>
      <link>https://community.qlik.com/t5/QlikView/trigger-not-working-in-web-view-server/m-p/623273#M229378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the reason behind it, but this may be a workaround for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using a Field Event Trigger on the field CrimeDate for the OnSelect action (I know this works on the server and in WebView because I've used this type of trigger before).&lt;/P&gt;&lt;P&gt;Select in Field: CrimeDate&lt;/P&gt;&lt;P&gt;Search String: Your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 15:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trigger-not-working-in-web-view-server/m-p/623273#M229378</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-24T15:11:15Z</dc:date>
    </item>
  </channel>
</rss>

