<?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: View all objects that use a particular field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438102#M489662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way is to use Rob's Doc Analyzer app...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robwunderlich.com/downloads/" title="http://robwunderlich.com/downloads/"&gt;Downloads - Rob Wunderlich Qlikview Consulting&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 00:05:19 GMT</pubDate>
    <dc:creator>phaneendra_kunc</dc:creator>
    <dc:date>2014-01-14T00:05:19Z</dc:date>
    <item>
      <title>View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438092#M489649</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 have a large QV document which I need to update. &lt;/P&gt;&lt;P&gt;Historically there were two fields which help slightly different categorisation information which we now want to combine into a single field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to generate a list of all of the objects that use either field as a dimension or expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the excellent DocumentAnalyzer by Rob Wunderlich but it won't run for this file. I think the file may be too large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure this is a problem that everyone has faced at one time or another!&lt;/P&gt;&lt;P&gt;Help please!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 14:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438092#M489649</guid>
      <dc:creator />
      <dc:date>2012-11-15T14:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438093#M489650</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 have had problems running Rob's extremly composite Document Analyzer with one of my QVWs, perhaps my doc was too big to analyze like in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use a button with Select in Field trigger for &lt;STRONG&gt;yourfield&lt;/STRONG&gt; with &lt;STRONG&gt;* &lt;/STRONG&gt;as search string or a Trigger like Select Possible where you can specify &lt;STRONG&gt;yourfield &lt;/STRONG&gt;name in the &lt;STRONG&gt;Field &lt;/STRONG&gt;section of the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This won't definitely give you a list, but will at least give you a way to see the tables or sheets where your the field-you-are-looking-for is used. This might help as a starter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps, the community experts can help better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Khaled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 18:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438093#M489650</guid>
      <dc:creator />
      <dc:date>2012-11-15T18:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438094#M489652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way to do this is with a macro. Take a look at the APIGuide, specifically referencing functions &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;getfield()&lt;/STRONG&gt;&lt;/SPAN&gt; which would be used for data tables and &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;dimensions()&lt;/STRONG&gt;&lt;/SPAN&gt; which would be used for graphical charts. You would need to write a loop to search through all objects and all dimensions. Overall, you should probably expect that this won't be a very simple macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a simpler possibiliy, however. A QVW is, in fact, an XML file that has been renamed to a .QVW extension. Meaning, you can actually read it into another QVW as a source. Here's what you would need to do: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Create a new QVW file, go to the script editor, select Table Files, change the filter to "All Files" and open your main QVW. You will see a bunch of gibberish. Change the File Type to "Xml" and you will magically get a decoded version. Press finish.&lt;/P&gt;&lt;P&gt;(2) You will get an autogenerated list of table loads, but you don't need all of these. Keep only the 2 labeled DocumentSummary and SheetObject, and delete the other loads. Reload the application.&lt;/P&gt;&lt;P&gt;(3) Inside the DocumentSummary table you will see a field called "Definition" that will contain a list of all expressions. You can use the Definition field to search for expressions that use the field that you care about. The field [Expression/ObjectId] in this table will give you the Id of the object that has the expression.&lt;/P&gt;&lt;P&gt;(4) Inside the SheetObject table you will see a field called "Field" that will contain a list of all dimensions. You can use this field to search for dimensions that use the field that you care about. The field [ObjectId] in this table will give you the Id of the object that has the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it works out for you!&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 20:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438094#M489652</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-11-15T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438095#M489653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a very interesting approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the above however I have not been able to get past the first step. When I select the file and change the file type to 'XML' I get the following message onscreen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;An invalid character was found in text content.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;On line number: 1. On Column number: 2. System ID:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;file path details i.e. C:\xxx\xxx\&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested this with three separate files.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 10:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438095#M489653</guid>
      <dc:creator />
      <dc:date>2012-11-16T10:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438096#M489654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried this on my machine with multiple files and it always works (verified in v11 only though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 13:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438096#M489654</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-11-16T13:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438097#M489656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also see this. I wonder why it doesn't work for us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Ah, silly me. By default, if you browse for the files, the file type is "All Table Files". Since the reload log is named as "MyDocument.QVW" it shows there and I was just clicking on that, instead of the actual QV file. Had to change the file type to "All files" and then I saw th QV file as well &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;Message was edited by: Henry Backman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 10:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438097#M489656</guid>
      <dc:creator />
      <dc:date>2013-03-06T10:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438098#M489657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Henry, take a look at my blog post here, hope it helps you: &lt;A class="loading" href="http://www.infinityinsight.com/blog/?p=235"&gt;http://www.infinityinsight.com/blog/?p=235&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438098#M489657</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2013-03-07T19:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438099#M489658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to make a project folder.&lt;/P&gt;&lt;P&gt;The folder name should be the same as qvw, for example, if your qvw name is 'MyQvw.qvw' then the folder name is 'MyQvw-proj'. Project folder should be in the same directory where the qvw is. Then you open the qvw and press save button then you'll see xml documents generated for all objects in the qvw so you can grep where the field is used!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 23:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438099#M489658</guid>
      <dc:creator />
      <dc:date>2013-03-07T23:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438100#M489659</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 also facing same kind of issue when loading from xml to qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you found any solution to this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 15:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438100#M489659</guid>
      <dc:creator />
      <dc:date>2013-03-27T15:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438101#M489661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have exactly the same issue did you find a solution on that??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 17:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438101#M489661</guid>
      <dc:creator />
      <dc:date>2014-01-13T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438102#M489662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way is to use Rob's Doc Analyzer app...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robwunderlich.com/downloads/" title="http://robwunderlich.com/downloads/"&gt;Downloads - Rob Wunderlich Qlikview Consulting&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 00:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/438102#M489662</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-01-14T00:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: View all objects that use a particular field</title>
      <link>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/1621917#M489663</link>
      <description>&lt;P&gt;This really should be standard functionality in the product itself.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 06:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-all-objects-that-use-a-particular-field/m-p/1621917#M489663</guid>
      <dc:creator>youcantryreachingme</dc:creator>
      <dc:date>2019-09-10T06:50:06Z</dc:date>
    </item>
  </channel>
</rss>

