<?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>article Using Qlik Lineage API's with your On-Premise Environment(s) in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/Using-Qlik-Lineage-API-s-with-your-On-Premise-Environment-s/ta-p/2527726</link>
    <description>&lt;H2&gt;&lt;STRONG&gt;Starting Point&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;Before you get to excited, the Qlik Lineage API's do &lt;STRONG&gt;NOT &lt;/STRONG&gt;work against your Qlik Sense Enterprise on Windows environments. But I used that title because that is how I searched when a customer said "I really like tracking the lineage for my SasS applications, but I also need it for the Qlik Sense Applications I still have on-premise."&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't get discouraged just yet, as I'm going to show you a way forward that will let you capture the lineage you want using a product Qlik provides that you might not be aware of ... &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/QlikLineageConnectors/qlik-lineageconnectors.htm" target="_blank" rel="noopener"&gt;Qlik Lineage Connectors&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a nutshell, the Qlik Lineage Connectors collects all the lineage information for your on-premise environments and publishes the needed METADATA for them to the Cloud, where you can use the API's. No data is moved to the cloud, and you do not need to reload anything in the cloud to make it work.&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Installation &amp;amp; Configuration&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;Note: You will need at least a bare bones Qlik SaaS tenant to serve as the catalog for your lineage data.&amp;nbsp;Follow the instruction for the &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/QlikLineageConnectors/qlik-lineageconnectors-install.htm" target="_blank" rel="noopener"&gt;Qlik Lineage Connectors application&lt;/A&gt;, as the point of this post is to help you after that so you can configure and get the Qlik Lineage API's working on all of that precious on-premise lineage metadata.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The metadata can only be published to a Managed space within your Qlik SaaS Tenant. In the following screen shot you will notice I conveniently named that space "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;OnPremise&lt;/STRONG&gt;&lt;/FONT&gt;" so there would be no doubt in my old mind what the space was when I see it a few weeks from now.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_0-1755615744828.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182970iBC6ED4DF31A0950D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_0-1755615744828.png" alt="Dalton_Ruer_0-1755615744828.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The following screen shot shows what that space looked like before configuring and running the Qlik Lineage Connectors in my environment:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_1-1755615824474.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182971iF002972212E25D3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_1-1755615824474.png" alt="Dalton_Ruer_1-1755615824474.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Executing Qlik Linage Connectors On-Premise&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;You can run/test the process by going to the Scheduler tab and simply pressing the run/play icon. As you will see in the image below I configured my environment to be limited to a single stream that had 22 applications in it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_2-1755615883419.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182972i9CF409895E2B62F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_2-1755615883419.png" alt="Dalton_Ruer_2-1755615883419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the process was going I began seeing "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;items&lt;/STRONG&gt;&lt;/FONT&gt;" appear in my "&lt;STRONG&gt;&lt;FONT color="#339966"&gt;OnPremise&lt;/FONT&gt;&lt;/STRONG&gt;" space.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_3-1755615953104.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182973iB4BE261CE34F6A93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_3-1755615953104.png" alt="Dalton_Ruer_3-1755615953104.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;I used the word&amp;nbsp;"&lt;FONT color="#339966"&gt;&lt;STRONG&gt;items&lt;/STRONG&gt;&lt;/FONT&gt;" because they are a type of object called an "External link." You can click on the link and it acts just like other hyperlinks and would launch the application in your QSEoW environment. However, it also has the advantage which is driving this post ... the ability to see the Lineage Metadata for those on-premise applications. Simply right click on the "&lt;STRONG&gt;&lt;FONT color="#339966"&gt;external link&lt;/FONT&gt;&lt;/STRONG&gt;" and choose either "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Lineage&lt;/STRONG&gt;&lt;/FONT&gt;" or "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Impact analysis&lt;/STRONG&gt;&lt;/FONT&gt;", just like you would any of your SaaS applications.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_4-1755615996352.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182975iE29BD2630024C0E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_4-1755615996352.png" alt="Dalton_Ruer_4-1755615996352.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Yeah! We are in business:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_5-1755615996353.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182976i2AA03DFB00FBBCD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_5-1755615996353.png" alt="Dalton_Ruer_5-1755615996353.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;API Calls&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;If you checkout the &lt;A href="https://qlik.dev/apis/rest/lineage-graphs/" target="_blank" rel="noopener"&gt;Lineage APIs&lt;/A&gt;&amp;nbsp;you will notice a pretty simple format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;https://{Qlik&amp;nbsp;Tenant}/api/v1/lineage-graphs/nodes/&lt;FONT color="#008000"&gt;{QRI_ID}&lt;/FONT&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you look at the online documentation or examples people have shared they all involve "applications." Which shows you that the QRI_ID involves a pattern of &lt;STRONG&gt;"&lt;FONT color="#008000"&gt;qri:app:sense://{Application Id}&lt;/FONT&gt;"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_6-1755615996354.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182974i60CA2E65889BAFF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_6-1755615996354.png" alt="Dalton_Ruer_6-1755615996354.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Alas, these "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;external links&lt;/STRONG&gt;&lt;/FONT&gt;" are not "applications" they are simply pointers to the on-premise applications along with the lineage metadata. So, that format won't work for us. However, we can easily get that QRI_ID value using the &lt;A href="https://qlik.dev/apis/rest/items/" target="_blank" rel="noopener"&gt;Qlik "items" API call&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Items API&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;In the documentation you will notice that one of the parameters that can be utilized for the "items" API call is something called "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;resourceType&lt;/STRONG&gt;&lt;/FONT&gt;." That parameter allows you to filter the API to exactly what you are looking for which we need to do in this case. The "&lt;STRONG&gt;&lt;FONT color="#339966"&gt;resourceType&lt;/FONT&gt;&lt;/STRONG&gt;" value we want is "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;genericlink&lt;/STRONG&gt;&lt;/FONT&gt;."&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_7-1755615996358.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182978i0CB5B4611A8B005B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_7-1755615996358.png" alt="Dalton_Ruer_7-1755615996358.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice that in my screenshot (from Postman) that in addition to passing "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;genericlink&lt;/STRONG&gt;&lt;/FONT&gt;" for the "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;resourceType&lt;/STRONG&gt;&lt;/FONT&gt;" parameter, I have also configured another parameter called "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;spaceId&lt;/STRONG&gt;&lt;/FONT&gt;" that then limits the list to the "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;genericlink&lt;/STRONG&gt;&lt;/FONT&gt;"(s) found in my "&lt;STRONG&gt;&lt;FONT color="#339966"&gt;OnPremise&lt;/FONT&gt;&lt;/STRONG&gt;" Managed Space.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_8-1755615996365.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182979i97E5E69E6BC47A1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_8-1755615996365.png" alt="Dalton_Ruer_8-1755615996365.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you look at the blue highligted area in the screenshot above it output exactly what we are looking for in the form of the "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;secureQri&lt;/STRONG&gt;&lt;/FONT&gt;" value. Woohoo! We can programmatically iterate through the output from calling the items API and pass the QRI_ID values to the lineage API.&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Lineage API&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;Two important parameters for the &lt;A href="https://qlik.dev/apis/rest/lineage-graphs/#get-api-v1-lineage-graphs-nodes-id" target="_blank" rel="noopener"&gt;Lineage API&lt;/A&gt; are called "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;level&lt;/STRONG&gt;&lt;/FONT&gt;" and "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;up&lt;/STRONG&gt;&lt;/FONT&gt;." The "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;level&lt;/STRONG&gt;&lt;/FONT&gt;" parameter lets you define what aspects of the lineage information you want. While the "&lt;FONT color="#339966"&gt;&lt;STRONG&gt;up&lt;/STRONG&gt;&lt;/FONT&gt;" parameter lets you declare how many values to return.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_9-1755615996366.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182977i6AF71B01F0895B37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dalton_Ruer_9-1755615996366.png" alt="Dalton_Ruer_9-1755615996366.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In my call, notice that I have indicated that I wish to get all values, and I want the resources.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Dalton_Ruer_10-1755615996369.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182980i63DD7F508C266332/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_10-1755615996369.png" alt="Dalton_Ruer_10-1755615996369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You simply change the "&lt;STRONG&gt;&lt;FONT color="#339966"&gt;level&lt;/FONT&gt;&lt;/STRONG&gt;" parameter if you wish to obtain Table names or Field names and the information about them. Or set it to all and it will return all of the metadata you could dream of.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 15:24:06 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2025-08-19T15:24:06Z</dc:date>
    <item>
      <title>Using Qlik Lineage API's with your On-Premise Environment(s)</title>
      <link>https://community.qlik.com/t5/Member-Articles/Using-Qlik-Lineage-API-s-with-your-On-Premise-Environment-s/ta-p/2527726</link>
      <description>&lt;P&gt;Stop dreaming, and start doing. In this post I will share how you can use the Qlik Lineage API's for SaaS applications on your Qlik Sense Enterprise for Windows applications.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 15:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Using-Qlik-Lineage-API-s-with-your-On-Premise-Environment-s/ta-p/2527726</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2025-08-19T15:24:06Z</dc:date>
    </item>
  </channel>
</rss>

