<?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 QMC Utilities Source Control Assistant - doesn't support master visualizations in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/QMC-Utilities-Source-Control-Assistant-doesn-t-support-master/m-p/1509550#M18022</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am testing out the Source Control Assistant, which first off is an awesome tool, as an app mostly will restore to it's original state after being stored in .json format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, master visualizations are not restored, and I've been digging a bit into why this is. First off, the tool uses the node utility serializeapp (&lt;A href="https://github.com/mindspank/serializeapp" target="_blank"&gt;https://github.com/mindspank/serializeapp&lt;/A&gt;) to convert the app objects into .json format. I'm no JS wiz so I don't really understand whether this actually saves what is required to&amp;nbsp; restore master visualizations, but from what I can see it does (it is stored as masterobjects.json in the backuped file).&lt;/P&gt;&lt;P&gt;Hence it seems that the missing functionality might lie in the Source Control Assistants, as it doesn't successfully recreate the master objects (visualizations) when restoring backed up files.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone with a bit more insight into the project have an idea of whether this is fixable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update: I found that visualizations (master objects) are not imported into the restored app.&amp;nbsp; It started working by adding these lines to the file restoreApp.js in the folder&amp;nbsp;C:\Program Files\Qlik\Sense\EAPowerTools\QMCUtilities\plugins\scLite\lib (starting on row 88):&lt;/P&gt;&lt;P&gt;.then(function(foo)&lt;BR /&gt;{&lt;BR /&gt;logger.info("Adding masterobjects to " + x.appId, {module:'restoreApp'});&lt;BR /&gt;var masterobjects = loadFile(inputPath + "/masterobjects.json");&lt;BR /&gt;return importAppObjects(x, masterobjects.masterobjects);&lt;BR /&gt;})&lt;BR /&gt;.then(function(masterobjectIDs)&lt;BR /&gt;{&lt;BR /&gt;logger.info(masterobjectIDs, {module:'restoreApp'});&lt;BR /&gt;x.ids.push({"type":"masterobject","ids": masterobjectIDs});&lt;BR /&gt;return;&lt;BR /&gt;})&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:15:29 GMT</pubDate>
    <dc:creator>fredrikoskarsso</dc:creator>
    <dc:date>2024-11-16T07:15:29Z</dc:date>
    <item>
      <title>QMC Utilities Source Control Assistant - doesn't support master visualizations</title>
      <link>https://community.qlik.com/t5/Management-Governance/QMC-Utilities-Source-Control-Assistant-doesn-t-support-master/m-p/1509550#M18022</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am testing out the Source Control Assistant, which first off is an awesome tool, as an app mostly will restore to it's original state after being stored in .json format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, master visualizations are not restored, and I've been digging a bit into why this is. First off, the tool uses the node utility serializeapp (&lt;A href="https://github.com/mindspank/serializeapp" target="_blank"&gt;https://github.com/mindspank/serializeapp&lt;/A&gt;) to convert the app objects into .json format. I'm no JS wiz so I don't really understand whether this actually saves what is required to&amp;nbsp; restore master visualizations, but from what I can see it does (it is stored as masterobjects.json in the backuped file).&lt;/P&gt;&lt;P&gt;Hence it seems that the missing functionality might lie in the Source Control Assistants, as it doesn't successfully recreate the master objects (visualizations) when restoring backed up files.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone with a bit more insight into the project have an idea of whether this is fixable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update: I found that visualizations (master objects) are not imported into the restored app.&amp;nbsp; It started working by adding these lines to the file restoreApp.js in the folder&amp;nbsp;C:\Program Files\Qlik\Sense\EAPowerTools\QMCUtilities\plugins\scLite\lib (starting on row 88):&lt;/P&gt;&lt;P&gt;.then(function(foo)&lt;BR /&gt;{&lt;BR /&gt;logger.info("Adding masterobjects to " + x.appId, {module:'restoreApp'});&lt;BR /&gt;var masterobjects = loadFile(inputPath + "/masterobjects.json");&lt;BR /&gt;return importAppObjects(x, masterobjects.masterobjects);&lt;BR /&gt;})&lt;BR /&gt;.then(function(masterobjectIDs)&lt;BR /&gt;{&lt;BR /&gt;logger.info(masterobjectIDs, {module:'restoreApp'});&lt;BR /&gt;x.ids.push({"type":"masterobject","ids": masterobjectIDs});&lt;BR /&gt;return;&lt;BR /&gt;})&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/QMC-Utilities-Source-Control-Assistant-doesn-t-support-master/m-p/1509550#M18022</guid>
      <dc:creator>fredrikoskarsso</dc:creator>
      <dc:date>2024-11-16T07:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Utilities Source Control Assistant - doesn't support master visualizations</title>
      <link>https://community.qlik.com/t5/Management-Governance/QMC-Utilities-Source-Control-Assistant-doesn-t-support-master/m-p/1557320#M18023</link>
      <description>&lt;P&gt;Thank you for posting this. The code snippet you provided fixed that issue for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody know if these tools are getting any development attention? I am often questioned by clients looking for an effective SC solution for Qlik and the QMC Utilities are a reasonable solution but I fear the eventual obsolescence of the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/QMC-Utilities-Source-Control-Assistant-doesn-t-support-master/m-p/1557320#M18023</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2019-03-15T17:05:19Z</dc:date>
    </item>
  </channel>
</rss>

