<?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: getTableData only returns 255 characters per coulmn in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2048569#M18257</link>
    <description>&lt;P&gt;I noticed the problem, too. With getTableData() values are truncated to 255 characters. I built a minimal example, ZIP is attached. The interesting part is this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const appId = "&amp;lt;SET_APP_ID&amp;gt;";
const hostName = "&amp;lt;SET_HOST_NAME&amp;gt;";

const urlConfig = {
    appId: appId,
    host: hostName,
    port: 443,
    secure: true,
    prefix: ''
}
const senseUrl = SenseUtilities.buildUrl(urlConfig);

const enigmaConfig = {
    schema: schema,
    url: senseUrl,
}

const script = `
TestTable:
Load * Inline [
	Key, Value
    test1, '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111'
]
`;

let session = enigma.create(enigmaConfig);
session.open()
  .then((global) =&amp;gt; global.openDoc(appId))
  .then((doc) =&amp;gt; doc
    .setScript(script)
    .then(() =&amp;gt; doc.doReload())
    .then(() =&amp;gt; doc.getTableData(0, 1, false, 'TestTable'))
    .then((data) =&amp;gt; console.log(data)))
  .then(() =&amp;gt; session.close())
  .then(() =&amp;gt; console.log('Session closed'))
  .catch(err =&amp;gt; console.log('Something went wrong :(', err));&lt;/LI-CODE&gt;
&lt;P&gt;To run, extract the ZIP, set App ID and Qlik host in &lt;FONT face="courier new,courier"&gt;src/App.js&lt;/FONT&gt; and run&lt;FONT face="courier new,courier"&gt; npm i&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;npm start&lt;/FONT&gt;. Go to &lt;A href="http://localhost:3000" target="_blank"&gt;http://localhost:3000&lt;/A&gt; and look at the console, the value is truncated after the zeroes.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 14:44:56 GMT</pubDate>
    <dc:creator>RealCKh</dc:creator>
    <dc:date>2023-03-13T14:44:56Z</dc:date>
    <item>
      <title>getTableData only returns 255 characters per coulmn</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2037738#M18107</link>
      <description>&lt;P&gt;Using &lt;A href="https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/EngineJSONAPI/Content/service-doc-gettabledata.htm" target="_self"&gt;getTableData&lt;/A&gt; (through Enigma), I noticed it strips data after 255 characters. The documentation does not say anything about such a limitation.&lt;/P&gt;
&lt;P&gt;I guess either the docu should be enhanced or the limit dropped.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 13:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2037738#M18107</guid>
      <dc:creator>SBr</dc:creator>
      <dc:date>2023-02-14T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: getTableData only returns 255 characters per coulmn</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2039768#M18127</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/158350"&gt;@SBr&lt;/a&gt;&lt;/SPAN&gt; , you are noticing this limitation in which kind of table field? We have Characters limitations in our product as per &lt;A href="https://support.qlik.com/articles/000046562?_ga=2.211222037.1630745125.1676878829-2036001668.1669282238" target="_blank"&gt;this &lt;/A&gt;link. It is not a limitation of the API.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 09:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2039768#M18127</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2023-02-20T09:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: getTableData only returns 255 characters per coulmn</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2048569#M18257</link>
      <description>&lt;P&gt;I noticed the problem, too. With getTableData() values are truncated to 255 characters. I built a minimal example, ZIP is attached. The interesting part is this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const appId = "&amp;lt;SET_APP_ID&amp;gt;";
const hostName = "&amp;lt;SET_HOST_NAME&amp;gt;";

const urlConfig = {
    appId: appId,
    host: hostName,
    port: 443,
    secure: true,
    prefix: ''
}
const senseUrl = SenseUtilities.buildUrl(urlConfig);

const enigmaConfig = {
    schema: schema,
    url: senseUrl,
}

const script = `
TestTable:
Load * Inline [
	Key, Value
    test1, '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111'
]
`;

let session = enigma.create(enigmaConfig);
session.open()
  .then((global) =&amp;gt; global.openDoc(appId))
  .then((doc) =&amp;gt; doc
    .setScript(script)
    .then(() =&amp;gt; doc.doReload())
    .then(() =&amp;gt; doc.getTableData(0, 1, false, 'TestTable'))
    .then((data) =&amp;gt; console.log(data)))
  .then(() =&amp;gt; session.close())
  .then(() =&amp;gt; console.log('Session closed'))
  .catch(err =&amp;gt; console.log('Something went wrong :(', err));&lt;/LI-CODE&gt;
&lt;P&gt;To run, extract the ZIP, set App ID and Qlik host in &lt;FONT face="courier new,courier"&gt;src/App.js&lt;/FONT&gt; and run&lt;FONT face="courier new,courier"&gt; npm i&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;npm start&lt;/FONT&gt;. Go to &lt;A href="http://localhost:3000" target="_blank"&gt;http://localhost:3000&lt;/A&gt; and look at the console, the value is truncated after the zeroes.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 14:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/getTableData-only-returns-255-characters-per-coulmn/m-p/2048569#M18257</guid>
      <dc:creator>RealCKh</dc:creator>
      <dc:date>2023-03-13T14:44:56Z</dc:date>
    </item>
  </channel>
</rss>

