<?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: Facing problem returning sheet object in container in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251868#M396076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for interesting idea. I will try that option as well. My Pivot Table is very big in volume, so I prefer not have any linked objects.&lt;/P&gt;&lt;P&gt;Anyway, thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely, &lt;/P&gt;&lt;P&gt;Khoren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 12:50:08 GMT</pubDate>
    <dc:creator>hovhannisyan</dc:creator>
    <dc:date>2016-11-15T12:50:08Z</dc:date>
    <item>
      <title>Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251864#M396072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have so much experience in QlikView Object classes and currently I am facing the following problem.&lt;/P&gt;&lt;P&gt;I have a sheet object (Pivot Table) and its Object Id ("CH35") I am using in macro code (ActiveDocument.ActiveSheet.SheetObjects("CH35")) to return that Object and all its properties. Works perfect when the object is visible in the sheet's property under Object tab.&amp;nbsp; Nevertheless, if I have that object only in the container (no more linked Object) I am not able to return that object class. I looked through the Qlikview API guide and as well as read nearly all posts related to this topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"IArrayOfContainerItemDef" member (accessed by IContainerProperties.ContainedObjects)&amp;nbsp; suggests further "Item" attribute which is not returning that Object class/member itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would very much appreciate any help and comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely, &lt;/P&gt;&lt;P&gt;Khoren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251864#M396072</guid>
      <dc:creator>hovhannisyan</dc:creator>
      <dc:date>2016-11-15T11:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251865#M396073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked for a chart (without linked objects) within a container:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set table = ActiveDocument.GetSheetObject( "CH21" )&lt;/P&gt;&lt;P&gt;msgbox table.GetColumnCount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 12:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251865#M396073</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-15T12:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251866#M396074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Macrus for your reply, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand,&amp;nbsp; you can call/return Objects and use its properties unless it is visible in Sheet's properties. There you can see all objects and their corresponding IDs; hence they can be accessed with .GetSheetObject("ObjectId") method. In my case, the Object itself is not visible in sheet properties dialog (there is not linked object visible in the sheet), but only as an "Objects displayed in Container". &lt;/P&gt;&lt;P&gt;It is possible to return the text/caption and some other attributes by calling from .GetProperties method (for example, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.GetProperties.&lt;/SPAN&gt;ContainedObjects.Item(i).Text.v), but this method does not return the object. I can return it as "Interface Data Object class" class and not "QlikView Object class".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also the extract from API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="class.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143915_class.png" style="height: 302px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Class2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/143916_Class2.png" style="height: 285px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, thank you for your reply, &lt;/P&gt;&lt;P&gt;Sincerely, &lt;/P&gt;&lt;P&gt;Khoren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 12:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251866#M396074</guid>
      <dc:creator>hovhannisyan</dc:creator>
      <dc:date>2016-11-15T12:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251867#M396075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution will be to make these sheets and objects visible - for example you could use a hidden sheet with the linked objects (this is a quite useful approach for all things which are related to export or print anything) and within your routine you changed a variable-value which is the visibility-condition, accessed your object (what ever you want to do) and afterwards you changed the variable again and hides the sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 12:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251867#M396075</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-15T12:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251868#M396076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for interesting idea. I will try that option as well. My Pivot Table is very big in volume, so I prefer not have any linked objects.&lt;/P&gt;&lt;P&gt;Anyway, thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely, &lt;/P&gt;&lt;P&gt;Khoren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 12:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251868#M396076</guid>
      <dc:creator>hovhannisyan</dc:creator>
      <dc:date>2016-11-15T12:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251869#M396077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have the exact same problem!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I need all &lt;SPAN style="color: #3d3d3d; font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"Objects displayed in Container"&lt;/SPAN&gt; ObjectID's within container "CT01".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Work for all objects in sheet:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;Sub&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; PrintAllObjectInSheet&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;Objecte = ActiveDocument.ActiveSheet.GetSheetObjects&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;For&lt;/SPAN&gt; i=&lt;SPAN style="color: #0000ff;"&gt;LBound&lt;/SPAN&gt;(Objecte) To &lt;SPAN style="color: #0000ff;"&gt;UBound&lt;/SPAN&gt;(Objecte)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(Objecte(i).GetObjectID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: 'courier new', courier;"&gt;Next&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: 'courier new', courier;"&gt;End sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Has anyone found a workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;A href="https://community.qlik.com/qlik-users/232845"&gt;hovhannisyan&lt;/A&gt;‌?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sincerely,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 14:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251869#M396077</guid>
      <dc:creator>Shisho_Karsenty</dc:creator>
      <dc:date>2018-01-25T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem returning sheet object in container</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251870#M396078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The workaround is not to use objects in containers else linked or cloned objects in a hidden sheet or to simulate a container by using several textboxes which display a frame and object-headers which work as buttons changing a variable which controlled the visibility of the included charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to try it with a container then these links will be helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/350677"&gt;Re: How to identify which Object ID is active inside a container&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/708177"&gt;Re: Get Active object in a Container&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-problem-returning-sheet-object-in-container/m-p/1251870#M396078</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-25T15:05:59Z</dc:date>
    </item>
  </channel>
</rss>

