<?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 Object ID as parameter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153029#M30245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The function GetObjectID is available if you use a macro.&lt;BR /&gt;This is an exttract from the API guide.&lt;/P&gt;&lt;P&gt;rem ** get unique object ID for first object on sheet Main **&lt;BR /&gt;set s = ActiveDocument.Sheets("Main")&lt;BR /&gt;set so = s.SheetObjects(0)&lt;BR /&gt;id = so.GetObjectId&lt;BR /&gt;msgbox("ID = " &amp;amp; id)&lt;/P&gt;&lt;P&gt;Regards, Annette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2009 21:10:23 GMT</pubDate>
    <dc:creator>Annette_Steinrücken</dc:creator>
    <dc:date>2009-08-10T21:10:23Z</dc:date>
    <item>
      <title>Object ID as parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153027#M30243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to pass the Object ID as a parmater within an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. Window Title:&lt;/P&gt;&lt;P&gt;= "This object's ID is" &amp;amp; ObjectID&lt;/P&gt;&lt;P&gt;would display&lt;/P&gt;&lt;P&gt;This object's ID is CH56&lt;/P&gt;&lt;P&gt;I'm thinking of using this in conjunction with an EVAL statement to retreive expressions from a database based on the Object ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 16:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153027#M30243</guid>
      <dc:creator />
      <dc:date>2009-08-10T16:45:06Z</dc:date>
    </item>
    <item>
      <title>Object ID as parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153028#M30244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can certainly do this using macros. You can run a macro on-open which will initialize some veriables. These variables then you can use in your expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set s = ActiveDocument.Sheets("Main")&lt;BR /&gt;set so = s.SheetObjects(0)&lt;BR /&gt;set v = ActiveDocument.Variables("myObjectID")&lt;BR /&gt;v.SetContent so.GetObjectId, true&lt;/P&gt;&lt;P&gt;May be I am not understanding what exactely you are trying to achieve. Hope this help you with what you need.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 21:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153028#M30244</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-08-10T21:05:01Z</dc:date>
    </item>
    <item>
      <title>Object ID as parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153029#M30245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The function GetObjectID is available if you use a macro.&lt;BR /&gt;This is an exttract from the API guide.&lt;/P&gt;&lt;P&gt;rem ** get unique object ID for first object on sheet Main **&lt;BR /&gt;set s = ActiveDocument.Sheets("Main")&lt;BR /&gt;set so = s.SheetObjects(0)&lt;BR /&gt;id = so.GetObjectId&lt;BR /&gt;msgbox("ID = " &amp;amp; id)&lt;/P&gt;&lt;P&gt;Regards, Annette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 21:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153029#M30245</guid>
      <dc:creator>Annette_Steinrücken</dc:creator>
      <dc:date>2009-08-10T21:10:23Z</dc:date>
    </item>
    <item>
      <title>Object ID as parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153030#M30246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I have a number of elements on a page, and I am trying to automate the generation of their expressions.&lt;/P&gt;&lt;P&gt;In particular I plan to store the expression for each object in a database, and load this database in.&lt;/P&gt;&lt;P&gt;I would then like to retrieve the expression for a particular object based on the object ID.&lt;/P&gt;&lt;P&gt;Essentially I would like to have =MaxString(If (objectID=this.object.ID,eval(expression))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 16:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-ID-as-parameter/m-p/153030#M30246</guid>
      <dc:creator />
      <dc:date>2009-08-11T16:35:10Z</dc:date>
    </item>
  </channel>
</rss>

