<?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: Triggers on field gets lost in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400373#M148965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing that there are 1 of 2 things happening to Martin. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Martin is still building the app and the load fails, just as a part of the Dev process.&amp;nbsp; The action was in, and now he lost it on the last failure.&amp;nbsp; (We've all been there!)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Someone is making unanounced changes to the underlying data structure and causing the failures from QVS.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that scenario 1 is what is happening.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 16:32:44 GMT</pubDate>
    <dc:creator>hallquist_nate</dc:creator>
    <dc:date>2012-10-10T16:32:44Z</dc:date>
    <item>
      <title>Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400367#M148959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set a action on a field at the triggers in documents settings for example by selecting.&lt;/P&gt;&lt;P&gt;When the field is lost after executing script by an error, the action is lost, too.&lt;/P&gt;&lt;P&gt;Is there a way to set the actions in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 12:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400367#M148959</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-10-10T12:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400368#M148960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You lost me on this one.&amp;nbsp; If the field is lost due to an error during a reload, the action won't work no matter where it iss, as the field is lost.&amp;nbsp; Are you just looking to not lose the action, in general, so when you recover the field the action can be used?&amp;nbsp; That sounds like a possible bug.&amp;nbsp; What version of QV are you using and where is the action being lost?&amp;nbsp; IS it on the Access Point, Ajax, or the .QVW file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info please...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 15:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400368#M148960</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2012-10-10T15:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400369#M148961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I reproduced the problem on QV 11 SR1. &lt;/P&gt;&lt;P&gt;If in any reload you lose the field with the trigger, it will be lost even when you recover the field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to recreate it on script. Maybe you could write a macro with some effort to recreate the trigger but it would be a problem to use it. I'd suggest you call this macro on post reload method, but this event is not triggered on server reload... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I'd say it is a bug... &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 15:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400369#M148961</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-10-10T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400370#M148962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An interesting thread. A couple comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You can't define the Actions with a macro, as there is no API to define Actions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) When I get a script error, I click Cancel and reload the old content. Some people click Cancel and press on. This issue - lost Actions -- would appear to be a side effect of clicking OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 16:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400370#M148962</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-10-10T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400371#M148963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would also register this bug with QlikTech.&amp;nbsp; I would think that a document "property" should be saved, and not lost, even on a field loss.&amp;nbsp; When you lose a field that is a dimension in a chart, it get the red line, and is not removed.&amp;nbsp; I would think the same behavior should be expected throughout the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 16:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400371#M148963</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2012-10-10T16:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400372#M148964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rob. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be methods to manage actions... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the code used&amp;nbsp; Load * from or Select * the script could finish without erros killing the actions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also need to be careful with 'Exit script' in the middle of the code to test parts of the script because we can potentially lose the actions. &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 16:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400372#M148964</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-10-10T16:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400373#M148965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing that there are 1 of 2 things happening to Martin. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Martin is still building the app and the load fails, just as a part of the Dev process.&amp;nbsp; The action was in, and now he lost it on the last failure.&amp;nbsp; (We've all been there!)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Someone is making unanounced changes to the underlying data structure and causing the failures from QVS.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that scenario 1 is what is happening.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 16:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400373#M148965</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2012-10-10T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400374#M148966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello @ all.&lt;/P&gt;&lt;P&gt;Thanks for your suggestions.&lt;/P&gt;&lt;P&gt;The workaround to cancel the script and reload the previous version may working while developing with the client.&lt;/P&gt;&lt;P&gt;If this happens at the reloadjob because a file is corruped or missing you can't stop saving the file with the missing field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another workaround I'm thinking about:&lt;/P&gt;&lt;P&gt;load the action fields with an inline load without datas at the beginning so the field will be saved and also the actions.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 06:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400374#M148966</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-10-11T06:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400375#M148967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a very poor behaviour, and I would expect these settings to be persisted.&amp;nbsp; Has anyone raised it as a bug (or after you have been told it is "by design", an idea)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just added a dummy table to the start of my load script to ensure these fields always exist - it seems to be working fine for me (when the script errors, or if I use an Exit Script statement during debugging).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 15:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400375#M148967</guid>
      <dc:creator />
      <dc:date>2012-11-27T15:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400376#M148968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further to earlier posts, it IS possible to create and amend field triggers via macro, but not yet sure if all options are covered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code from APIGuide reads the triggers as set up ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set fld=ActiveDocument.GetField("Customer")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set fp = fld.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set actions=fp.OnLockActionItems&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i=0 to actions.Count-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; msgbox "Action types: " &amp;amp; actions.item(i).Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. by amending this slightly I have managed to change the order of the actions and add a new one ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set fld=ActiveDocument.GetField("timeTrigger")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set fp = fld.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set actions=fp.OnLockActionItems&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;msgbox "Action types: " &amp;amp; actions.item(0).Type 'Originally set up as activate next sheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;msgbox "Action types: " &amp;amp; actions.item(1).Type 'Originally set up as activate previous sheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;actions.item(0).Type = 10 'Activate previous sheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;actions.item(1).Type = 9&amp;nbsp; 'Activate next sheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;actions.add&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;actions.item(2).Type = 10 'New action&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fld.SetProperties fp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... might be useful to someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400376#M148968</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-11-27T16:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400377#M148969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I created an idea&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/ideas/http://community.qlik.com/ideas/2687" title="http://community.qlik.com/ideas/2687"&gt;http://community.qlik.com/ideas/2687&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's still "awaiting review", then it's not possible to vote for it yet... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting workaround&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 17:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400377#M148969</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-11-27T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400378#M148970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great - thanks for letting me know.&amp;nbsp; I have bookmarked it and will vote when it is approved.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 18:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400378#M148970</guid>
      <dc:creator />
      <dc:date>2012-11-27T18:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400379#M148971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My personnal solution to manage this problem and having no data lost is : &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// True if in dev mode ; flase other&lt;BR /&gt;LET vDebug_AutoSave=True();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// SUB for copy file to another one&lt;BR /&gt;SUB FILE_COPY (Src,Dest)&lt;BR /&gt;&amp;nbsp; trace 'FILE_COPY "$(Src)" "$(Dest)"' ;&lt;BR /&gt;&amp;nbsp; EXECUTE cmd.exe&amp;nbsp; /C&amp;nbsp; C: &amp;amp;&amp;amp; COPY /Y "$(Src)" "$(Dest)";&lt;BR /&gt;ENDSUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// first line of active code in the main is : &lt;BR /&gt;// if can find my version with data + just before any error on the file in date &amp;amp; documentName format&lt;BR /&gt;IF (vDebug_AutoSave=True()) then&lt;BR /&gt; CALL FILE_COPY (DocumentName(),Timestamp(Now(),' YYYYDDMMhhmmsss')&amp;amp;DocumentName());&lt;BR /&gt;ENDIF &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 16:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400379#M148971</guid>
      <dc:creator />
      <dc:date>2013-04-05T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400380#M148972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your script seems to duplicate the native functionality available in Settings, User Preferences, Save. Specifically, "Save before reload" and "Use backup instances". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some advantage to the script snippet you posted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 18:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400380#M148972</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-04-05T18:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400381#M148973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Y ou're right Rob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I was not aware of this setting. &lt;BR /&gt; (as all ingeneers,i have not read the manual &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I will try your suggestion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Apr 2013 00:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400381#M148973</guid>
      <dc:creator />
      <dc:date>2013-04-06T00:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400382#M148974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stumbeling upon the same problem at one of my clients, and I am using -prj-folders to hold document definitions.&lt;/P&gt;&lt;P&gt;And they use Git for version control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem arises when we want to use Git to deploy apps.&lt;/P&gt;&lt;P&gt;When docs are recreated using -prj-folders, they get recreated W/O data - that is, no data model and thus no fields.&lt;/P&gt;&lt;P&gt;And NO field event triggers, which are vital for almost all apps I've ever seen, in one way or another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I opened a ticket on QT support right about now.&lt;/P&gt;&lt;P&gt;So maybe it will come in QV 11.2 SR6 &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Architect Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://framsteg.com/" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 10:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400382#M148974</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2013-10-15T10:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400383#M148975</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;/P&gt;&lt;P&gt;I'm facing the same situation when using SVN for transporting the PRJ folder from one machine to another. As this is my company's approach to move a QVW to production, I somehow need to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to store field event triggers to a macro / load script etc. in the meanwhile? I tried to run the script from flipside above, but it does not do anything in my QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 10:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400383#M148975</guid>
      <dc:creator />
      <dc:date>2014-04-01T10:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400384#M148976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 05:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400384#M148976</guid>
      <dc:creator />
      <dc:date>2014-04-02T05:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400385#M148977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No solution, but the idea mentioned above in this thread is now live, so for a long term, non "work around" solution - go and vote &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/ideas/2687" style="font-size: 10pt; line-height: 1.5em;" title="http://community.qlik.com/ideas/2687"&gt;http://community.qlik.com/ideas/2687&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400385#M148977</guid>
      <dc:creator />
      <dc:date>2014-04-03T06:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers on field gets lost</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400386#M148978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magnus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had the same problem when pulling a qvw out of Source Control. A good workaround is to create a script (with Powershell or something similar) that scans through the AllProperties.xml file (in the -prj folder) for the fields that you want to have triggers, and replaces the &amp;lt;OnSelectAction&amp;gt;&amp;lt;/OnSelectAction&amp;gt; node with one containing the correct syntax for the trigger you're after. For example, if I wanted to add a trigger to run a macro called 'MyMacro', it would look like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;OnSelectActionItems&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ActionItemDef&amp;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;lt;Type&amp;gt;TYPE_MACRO&amp;lt;/Type&amp;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;lt;Parameters&amp;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;lt;StringExpr&amp;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;lt;v&amp;gt;MyMacro&amp;lt;/v&amp;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;lt;/StringExpr&amp;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;lt;/Parameters&amp;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;lt;StateName&amp;gt;&amp;lt;/StateName&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ActionItemDef&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/OnSelectActionItems&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For other types of triggers, the best way to get the xml syntax correct is to recreate the trigger manually in the desktop client, save and exit, then search the xml file for the given field and make a note of how it is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script contains a hashtable that pairs each Field name with the required xml that I need to insert. If you keep this updated every time you add a trigger, it should be easy to run and 'repair' your 'AllProperties.xml' if the triggers ever drop in future. Once the xml has had the triggers re-applied, you should find them there next time you open the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;BR /&gt;-James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 14:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-on-field-gets-lost/m-p/400386#M148978</guid>
      <dc:creator />
      <dc:date>2014-06-04T14:14:54Z</dc:date>
    </item>
  </channel>
</rss>

