<?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: Global find and replace - trigger expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811813#M66211</link>
    <description>&lt;P&gt;This is a good suggestion, and I have been gradually centralizing some of my variables (in 'include' files rather than an excel), but at present I'm working files where this is not the case.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 13:23:55 GMT</pubDate>
    <dc:creator>jwaligora</dc:creator>
    <dc:date>2021-05-31T13:23:55Z</dc:date>
    <item>
      <title>Global find and replace - trigger expression</title>
      <link>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811545#M66166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to make some field name edits.&lt;/P&gt;&lt;P&gt;I was hoping that (in the front end) I could do a global find/replace on all defined expressions, but it looks like the Expression Overview dialog box does not include expressions/values defined in document triggers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doing this individually/manually is troublesome for a number of reasons. It takes more time, it's tedious, and prone to error.&amp;nbsp; This setup also feels misleading and confusing since I'm now wondering what other areas are being missed/neglected.&amp;nbsp; No, really, what other expressions am I failing to locate/consider?&lt;/P&gt;&lt;P&gt;Is there a better, all-encompassing approach to this pickle?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 22:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811545#M66166</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2021-05-28T22:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Global find and replace - trigger expression</title>
      <link>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811553#M66170</link>
      <description>&lt;P&gt;Hi, using master items will help to centralize expressions, when you change the master item it updates all places where it is used.&lt;/P&gt;&lt;P&gt;Another option is to have an excel file or similar that stores all expressions, load each row(expression) as a variable and use this variable instead of the expression: $(varExpressionName)&lt;/P&gt;&lt;P&gt;This way if you want to change the name of a field in many different expressions you can do it with a search and replace in the excel file.&lt;/P&gt;&lt;P&gt;You can create all rows of an excel as variables with a script like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ExcelData:
LOAD VariableName, 
     VariableValue
FROM [Variables.xlsx] (ooxml, embedded labels, table is Sheet1);

// if variable names AND variable values are defined in the excel sheet then assign the variables this way
for vVariableNo = 0 to NoOfRows('ExcelData')
	Let vVariableName = peek('VariableName',vVariableNo,'ExcelData');
	Let $(vVariableName) = peek('VariableValue',vVariableNo,'ExcelData');
next vVariableNo&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Store-Excel-Values-in-variables/td-p/351302" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Store-Excel-Values-in-variables/td-p/351302&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 07:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811553#M66170</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-05-29T07:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Global find and replace - trigger expression</title>
      <link>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811563#M66173</link>
      <description>&lt;P&gt;You mentioned Expression Overview so I assume you are using QlikView.&amp;nbsp; &amp;nbsp;Although you can't edit, you can use QV Document Analyzer to find all occurances of a field -- including in Document Triggers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Qlikview Cookbook: QV Document Analyzer &lt;A href="https://qlikviewcookbook.com/recipes/download-info/document-analyzer/" target="_blank"&gt;https://qlikviewcookbook.com/recipes/download-info/document-analyzer/ &lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 14:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811563#M66173</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-05-29T14:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Global find and replace - trigger expression</title>
      <link>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811813#M66211</link>
      <description>&lt;P&gt;This is a good suggestion, and I have been gradually centralizing some of my variables (in 'include' files rather than an excel), but at present I'm working files where this is not the case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 13:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811813#M66211</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2021-05-31T13:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Global find and replace - trigger expression</title>
      <link>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811814#M66212</link>
      <description>&lt;P&gt;Bugger. I posted in the wrong forum. &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will check out the Document Analyzer option. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 13:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Global-find-and-replace-trigger-expression/m-p/1811814#M66212</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2021-05-31T13:26:28Z</dc:date>
    </item>
  </channel>
</rss>

