<?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: QEM Python API to get table details in task. in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142135#M8277</link>
    <description>&lt;P&gt;What about the GetTableStatus call. It returns an array with :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
"table_details":[
   {
   "schema_on_source":"{string}",
   "table_on_source":"{string}",
   "schema_on_target":"{string}",
   "table_on_target":"{string}",
   :&lt;/LI-CODE&gt;
&lt;P&gt;No columns mapping but the manipulation JSON will only show you those columns which are manipulated.&lt;/P&gt;
&lt;P&gt;For full table and column information only &lt;STRONG&gt;REPCTL&amp;nbsp;dumpmetadata&lt;/STRONG&gt; can help you.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;&amp;nbsp;Also which api can give me&amp;nbsp; STORE_CHANGE_SETTINGS of a given task.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You'll have to EXPORT the task look for the store change line to see if it is there.&amp;nbsp; I believe the task_setting parameter is &lt;STRONG&gt;common_settings.save_changes_enabled,&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp; Absence = default = off.&lt;/P&gt;
&lt;P&gt;But don't take my word for it. Take a test task, export once with and once without store change and &lt;STRONG&gt;DIFF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Hein.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 21:01:10 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2023-11-28T21:01:10Z</dc:date>
    <item>
      <title>QEM Python API to get table details in task.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142121#M8275</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Exporting the current replicate task from QEM would give me a JSON that has table manipulation settings. &lt;BR /&gt;&lt;BR /&gt;It has the following info.&lt;/P&gt;
&lt;DIV&gt;manipulations": [{&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "name": "SOURCE_OWNER.TABLE_NAME",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "table_manipulation": {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "owner": "SOURCE_OWNER",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "name": "SOURCE_TABLE_NAME",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "new_table_name": "TARGET_TABLE_NAME",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "new_owner_name": "TARGET_OWNER",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;That gives me access to source/target table details and also the column mapping.&lt;BR /&gt;&lt;BR /&gt;Which API could give me this information ?&lt;BR /&gt;&lt;BR /&gt;I don't see get_task_details or get_tables return this info.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/api_getTaskDetails.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/api_getTaskDetails.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also which api can give me&amp;nbsp; STORE_CHANGE_SETTINGS of a given task.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 20:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142121#M8275</guid>
      <dc:creator>vchilakamarthi</dc:creator>
      <dc:date>2023-11-28T20:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: QEM Python API to get table details in task.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142135#M8277</link>
      <description>&lt;P&gt;What about the GetTableStatus call. It returns an array with :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
"table_details":[
   {
   "schema_on_source":"{string}",
   "table_on_source":"{string}",
   "schema_on_target":"{string}",
   "table_on_target":"{string}",
   :&lt;/LI-CODE&gt;
&lt;P&gt;No columns mapping but the manipulation JSON will only show you those columns which are manipulated.&lt;/P&gt;
&lt;P&gt;For full table and column information only &lt;STRONG&gt;REPCTL&amp;nbsp;dumpmetadata&lt;/STRONG&gt; can help you.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;&amp;nbsp;Also which api can give me&amp;nbsp; STORE_CHANGE_SETTINGS of a given task.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You'll have to EXPORT the task look for the store change line to see if it is there.&amp;nbsp; I believe the task_setting parameter is &lt;STRONG&gt;common_settings.save_changes_enabled,&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp; Absence = default = off.&lt;/P&gt;
&lt;P&gt;But don't take my word for it. Take a test task, export once with and once without store change and &lt;STRONG&gt;DIFF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Hein.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 21:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142135#M8277</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-11-28T21:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: QEM Python API to get table details in task.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142137#M8278</link>
      <description>&lt;P&gt;Thank you let me test it out and see what I get.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 21:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142137#M8278</guid>
      <dc:creator>vchilakamarthi</dc:creator>
      <dc:date>2023-11-28T21:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: QEM Python API to get table details in task.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142208#M8285</link>
      <description>&lt;P&gt;Ok, what I need is found in two different places.&lt;BR /&gt;&lt;BR /&gt;1. If store_change_settings on a task is enabled&amp;nbsp;&lt;/P&gt;
&lt;P&gt;get_task_details -&amp;nbsp;&lt;SPAN&gt;store_changes_enabled (boolean)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/api_getTaskDetails.htm" target="_blank"&gt;https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/api_getTaskDetails.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. Get source and target table names and their owners in a given QLIK replicate task (like you suggested above already) using get_table_statuses&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/api_gettablestatuses.htm" target="_blank"&gt;https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/api_gettablestatuses.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thsi is good ...thank you for your time.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 05:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/QEM-Python-API-to-get-table-details-in-task/m-p/2142208#M8285</guid>
      <dc:creator>vchilakamarthi</dc:creator>
      <dc:date>2023-11-29T05:12:27Z</dc:date>
    </item>
  </channel>
</rss>

