<?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 QV Server not setting ObjectId via macro. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212938#M66776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Johan: Fantastic Idea.&lt;BR /&gt;&lt;BR /&gt; I changed&lt;BR /&gt;"Document\zeile..." to&lt;BR /&gt;"Server\zeile..."&lt;BR /&gt;&lt;BR /&gt;and now everything works fine!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Dec 2010 10:01:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-06T10:01:46Z</dc:date>
    <item>
      <title>QV Server not setting ObjectId via macro.</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212934#M66772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a macro that works fine on qlikview client. When opening this file from the access point on qlikview server, this macro is not working as it should. The problem: The macro is not setting the object_id correctly. Instead of using specified names, it just uses TX01,TX02 and so on.&lt;BR /&gt;&lt;BR /&gt;Here is the part of the macro that sets the objectId:&lt;BR /&gt;&lt;BR /&gt;set zeilentextbox = ActiveDocument.Sheets("Selektion").CreateTextObject&lt;BR /&gt;prop = zeilentextbox.GetProperties&lt;BR /&gt;prop.Layout.Frame.ObjectId = "Document\zeile_text_"&amp;amp;k&lt;BR /&gt;zeilentextbox.SetProperties prop 'Einstellungen abspeichern&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another macro that fires later has to delete specific textboxes:&lt;BR /&gt; for b=lbound(objs) to ubound(objs)&lt;BR /&gt; objid = objs(b).GetObjectId&lt;BR /&gt; IF objid = "Document\zeile_"&amp;amp;a THEN&lt;BR /&gt; objs(b).Close&lt;BR /&gt; END IF&lt;BR /&gt; next&lt;BR /&gt;&lt;BR /&gt;Any ideas how to tell the qlikview server so set the objectIds correctly?&lt;BR /&gt;PS: Other macros working fine - so executing macros generally is working.&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 15:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212934#M66772</guid>
      <dc:creator />
      <dc:date>2010-12-03T15:59:31Z</dc:date>
    </item>
    <item>
      <title>QV Server not setting ObjectId via macro.</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212935#M66773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reference guide states that layout operations (such as creating new object) are prohibited in server macros. My experience is that some functions work, some don't. But I always avoid using them because the doc is pretty clear so I have no one to complain to when they don't work.&lt;/P&gt;&lt;P&gt;I think the main difference here is that on the local QV, CreateTextObject creates a Document object. On the server, it creates a User object. Rules may be different.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Dec 2010 10:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212935#M66773</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-12-04T10:06:57Z</dc:date>
    </item>
    <item>
      <title>QV Server not setting ObjectId via macro.</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212936#M66774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;a quick workaround might be to adda hiddne sheet to the model with some hidden objects (textboxes, charts, etc) with predefined IDs and instead of creating new objects on the server just use these objects.&lt;/P&gt;&lt;P&gt;that way you can just delete the objects proeprties and assingan them again using your macro and everyone is happy:)&lt;/P&gt;&lt;P&gt;ofcourse if you have alot of users and you need an object or more for each then i guess this solution is bit heavy.&lt;/P&gt;&lt;P&gt;mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Dec 2010 07:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212936#M66774</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-12-05T07:46:17Z</dc:date>
    </item>
    <item>
      <title>QV Server not setting ObjectId via macro.</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212937#M66775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might just be that you are trying an invalid ID, perhaps "Server\..." would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Dec 2010 11:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212937#M66775</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2010-12-05T11:15:47Z</dc:date>
    </item>
    <item>
      <title>QV Server not setting ObjectId via macro.</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212938#M66776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Johan: Fantastic Idea.&lt;BR /&gt;&lt;BR /&gt; I changed&lt;BR /&gt;"Document\zeile..." to&lt;BR /&gt;"Server\zeile..."&lt;BR /&gt;&lt;BR /&gt;and now everything works fine!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 10:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Server-not-setting-ObjectId-via-macro/m-p/212938#M66776</guid>
      <dc:creator />
      <dc:date>2010-12-06T10:01:46Z</dc:date>
    </item>
  </channel>
</rss>

