<?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: Get app data model using API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1994232#M17439</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I had the same question and here is what I found out:&lt;/P&gt;
&lt;P&gt;The API that catwalk uses is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;datamodel&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt; doc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getTablesAndKeys&lt;/SPAN&gt;&lt;SPAN&gt;({}, {}, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;BR /&gt;const tables = datamodel.qtr;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See &lt;A href="https://github.com/qlik-oss/catwalk/blob/master/src/components/model.jsx#L30" target="_blank"&gt;https://github.com/qlik-oss/catwalk/blob/master/src/components/model.jsx#L30&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;API documentation of &lt;SPAN&gt;getTablesAndKeys&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P&gt;JSON API: &lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/EngineJSONAPI/Content/service-doc-gettablesandkeys.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/EngineJSONAPI/Content/service-doc-gettablesandkeys.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;.NET: &lt;A href="https://help.qlik.com/en-us/sense/1.1/apis/net%20sdk/html/M_Qlik_Engine_App_GetTablesAndKeys.htm" target="_blank"&gt;https://help.qlik.com/en-us/sense/1.1/apis/net%20sdk/html/M_Qlik_Engine_App_GetTablesAndKeys.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is an example for the JSON API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/ViewDataToLoad/list-tables-and-key-fields-in-app.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/ViewDataToLoad/list-tables-and-key-fields-in-app.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps someone with the same question.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 05:31:00 GMT</pubDate>
    <dc:creator>christopherkramer</dc:creator>
    <dc:date>2022-10-19T05:31:00Z</dc:date>
    <item>
      <title>Get app data model using API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1643117#M11700</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;Is there any way to get the data model of an app using the REST APIs? I am currently working with PostMan. I would like to pass it the app id and get a response with the tables, their fields and the key's between different tables if possible.&lt;/P&gt;&lt;P&gt;Please let me know if anything is unclear and I'll gladly elaborate.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 12:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1643117#M11700</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-11-05T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get app data model using API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1643596#M11710</link>
      <description>&lt;P&gt;Hi Mauritz,&lt;/P&gt;
&lt;P&gt;If you just want to explore/validate the data model you can use &lt;A title="catwalk" href="https://catwalk.core.qlik.com/" target="_self"&gt;catwalk&lt;/A&gt;&amp;nbsp;, a tool very&amp;nbsp;&lt;SPAN&gt;useful when you want to explore your data model for whatever reason.&lt;/SPAN&gt;&amp;nbsp;It's open source,&amp;nbsp; and the source code can be found on &lt;A title="catwalk on github" href="https://github.com/qlik-oss/catwalk" target="_self"&gt;GitHub .&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It might however not be the answer to your question, depending on what you want the data model for. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Helene&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 09:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1643596#M11710</guid>
      <dc:creator>hrigner</dc:creator>
      <dc:date>2019-11-06T09:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get app data model using API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1643652#M11711</link>
      <description>&lt;P&gt;Hi Helene&lt;/P&gt;&lt;P&gt;Thanks so much for the feedback. We have an OEM solution where we have a stream per client and a standard app which is published to all clients. We have many fields available in the QVDs (data layer) that can get loaded, but what is important to one is not necessarily to another. My idea is to have the full possible data model in a main app (template/standard app) and then having the clients select which fields they want in their version of the published app. We are already doing this using Excel files, but this is obviously not scalable as we need to update all of the Excel files when adding a field. We are now moving this to an external application (rather than Excel files). I would ideally like to extract the QS template app's data model using the external application. I can then use this to populate the choices that we expose to the client dynamically, rather than having to update the choices manually.&lt;/P&gt;&lt;P&gt;I'll have a look at Catwalk to see what they do :).&lt;/P&gt;&lt;P&gt;Maybe someone else has an easy example that I can piggy back off.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 10:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1643652#M11711</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-11-06T10:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get app data model using API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1994232#M17439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I had the same question and here is what I found out:&lt;/P&gt;
&lt;P&gt;The API that catwalk uses is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;datamodel&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt; doc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getTablesAndKeys&lt;/SPAN&gt;&lt;SPAN&gt;({}, {}, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;BR /&gt;const tables = datamodel.qtr;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See &lt;A href="https://github.com/qlik-oss/catwalk/blob/master/src/components/model.jsx#L30" target="_blank"&gt;https://github.com/qlik-oss/catwalk/blob/master/src/components/model.jsx#L30&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;API documentation of &lt;SPAN&gt;getTablesAndKeys&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P&gt;JSON API: &lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/EngineJSONAPI/Content/service-doc-gettablesandkeys.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/EngineJSONAPI/Content/service-doc-gettablesandkeys.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;.NET: &lt;A href="https://help.qlik.com/en-us/sense/1.1/apis/net%20sdk/html/M_Qlik_Engine_App_GetTablesAndKeys.htm" target="_blank"&gt;https://help.qlik.com/en-us/sense/1.1/apis/net%20sdk/html/M_Qlik_Engine_App_GetTablesAndKeys.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is an example for the JSON API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/ViewDataToLoad/list-tables-and-key-fields-in-app.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/CreatingAppLoadingData/ViewDataToLoad/list-tables-and-key-fields-in-app.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps someone with the same question.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 05:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1994232#M17439</guid>
      <dc:creator>christopherkramer</dc:creator>
      <dc:date>2022-10-19T05:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get app data model using API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1994647#M17440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31029"&gt;@Mauritz_SA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the only information you are looking for is the final data model of the app, the following endpoint can be used:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;http(s)://{server}/api/v1/apps/{GUID}/data/metadata&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this is the same point used for the&amp;nbsp;App Metadata Analyzer ,&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Monitoring_QSEoW/app-metadata-analyzer-app.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Monitoring_QSEoW/app-metadata-analyzer-app.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Let us know if you have any questions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 18:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/1994647#M17440</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2022-10-19T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get app data model using API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/2004634#M17580</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488"&gt;@NadiaB&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/148283"&gt;@christopherkramer&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Get-app-data-model-using-API/m-p/2004634#M17580</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2022-11-15T12:16:25Z</dc:date>
    </item>
  </channel>
</rss>

