<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Json Data into Excel file</title><link>https://community.appian.com/discussions/f/data/38725/json-data-into-excel-file</link><description>Hi Everyone, I have a table with one column type as JSON datatype and using to save the data through write to records. Now I have to export this table data into excel file and share it everyday so I have created a CDT for that table. In CDT it is defaulted</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146461?ContentTypeID=1</link><pubDate>Sat, 22 Mar 2025 15:32:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea9f1ddb-5850-4dae-b75c-6c4240f126fd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You still have the 1MB data cap for queries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146455?ContentTypeID=1</link><pubDate>Fri, 21 Mar 2025 20:41:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98e53219-d290-4bb2-b9d1-b2da4d1af7fe</guid><dc:creator>lohithk4399</dc:creator><description>&lt;p&gt;Thanks for all your response and patience, dedication.&lt;br /&gt;&lt;br /&gt;Able to fetch all the data only when limit the pagination to 200.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146426?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 23:15:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34dd201e-11ea-4c64-858d-4429c6ea77c8</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Just created a table and created&amp;nbsp;a data type from the&amp;nbsp;table and this is the XSD that&amp;nbsp;it generated.&lt;/p&gt;
&lt;p&gt;Seems like it used LONGTEXT.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;xsd:schema xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:tns=&amp;quot;urn:com:appian:types:S&amp;quot; targetNamespace=&amp;quot;urn:com:appian:types:S&amp;quot;&amp;gt;
  &amp;lt;xsd:complexType name=&amp;quot;S_JSON&amp;quot;&amp;gt;
    &amp;lt;xsd:annotation&amp;gt;
      &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Table(name=&amp;quot;S_JSON&amp;quot;)&amp;lt;/xsd:appinfo&amp;gt;
    &amp;lt;/xsd:annotation&amp;gt;
    &amp;lt;xsd:sequence&amp;gt;
      &amp;lt;xsd:element name=&amp;quot;id&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:int&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Id @GeneratedValue @Column(name=&amp;quot;id&amp;quot;, nullable=false, unique=true, columnDefinition=&amp;quot;INT&amp;quot;)&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
      &amp;lt;xsd:element name=&amp;quot;jsontext&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:string&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Column(name=&amp;quot;jsonText&amp;quot;, columnDefinition=&amp;quot;LONGTEXT&amp;quot;)&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
    &amp;lt;/xsd:sequence&amp;gt;
  &amp;lt;/xsd:complexType&amp;gt;
&amp;lt;/xsd:schema&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146425?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 22:59:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b497179e-624d-472e-bccc-7c31c73f109f</guid><dc:creator>lohithk4399</dc:creator><description>&lt;p&gt;Now I am trying to create entity and map in datastore but getting this error :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The data source schema does not match the type mappings: Schema-validation: wrong column type encountered in column [JSON_DATA] in table [`LKG_TEST`]; &lt;br /&gt;found [longtext (Types#LONGVARCHAR)], but expecting [text (Types#VARCHAR)] (APNX-2-4056-000)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146424?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 22:11:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:631a90f5-ed68-4e7b-b064-4c92b7d1719a</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Via queryRecord it is limited to 4000 (before 25.1)&lt;/p&gt;
&lt;p&gt;You need to use queryEntity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146423?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 22:06:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f7bef03-c1d4-4440-8213-3d6781c4fe07</guid><dc:creator>lohithk4399</dc:creator><description>&lt;p&gt;HI Mathieu,&lt;br /&gt;Thanks for the quick response.&lt;br /&gt;I have updated the annotation on XSD file. Now I have observed while querying the data using query record I see the field is not calling complete JSON data it is able to pull only 4497 characters.&lt;br /&gt;&lt;br /&gt;I have checked the datatype of that particular column in record which is set as follows.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1742508319397v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you please suggest how to pull all the available JSON data into queryrecord instead of breaking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146422?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 21:34:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:693d0cdf-86a7-408e-9006-d45177bb4980</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146420?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 19:52:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78601737-0c3e-4dbf-81db-9aba6b376990</guid><dc:creator>lohithk4399</dc:creator><description>&lt;p&gt;does this will help to get the data more than 4000 characters ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Json Data into Excel file</title><link>https://community.appian.com/thread/146350?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 00:20:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41eb0e89-d414-49ee-bb40-64f690190473</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;&lt;span&gt;You need to manually update the XSD&amp;nbsp;to use @Column(columnDefinition = &amp;quot;TEXT&amp;quot;) for the desired column.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>