<?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: Custum App &amp;amp; App Functions in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257954#M1102</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Not Sure if you found a solution for this yet but can you just paste your error here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes all you have to do is do JSON.stringify(data) in the code and then in the DataTable use JSON.parse(data). This ensures that all the JSON data is properly organised with proper formatting.&lt;BR /&gt;&lt;BR /&gt;In your case all you have to do is change these two steps.&lt;BR /&gt;const auditLogsData = JSON.stringify(result);&lt;/P&gt;&lt;P&gt;Then in DataTable you change data={JSON.parse(auditLogsData)}&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 09:47:38 GMT</pubDate>
    <dc:creator>Maheedhar_T</dc:creator>
    <dc:date>2024-10-03T09:47:38Z</dc:date>
    <item>
      <title>Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257060#M1088</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am developing a Custum App and app function in dynatrace to retrieve data from an API, and I would like to visualize this data using DataTable/DataTableV2. However, I am encountering some issues in the process.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I appreciate your help by providing a solution or giving me example code for the same.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 08:54:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257060#M1088</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2024-09-25T08:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257079#M1089</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;We have a step-by-step tutorial for API data fetching, putting the data into a DataTable component and more here in the &lt;A href="https://developer.dynatrace.com/quickstart/tutorial/" target="_blank"&gt;Dynatrace Developer Portal&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For us to be able to help you with your exact problem, please share the related code and error messages.&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 12:03:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257079#M1089</guid>
      <dc:creator>StefanKern</dc:creator>
      <dc:date>2024-09-25T12:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257171#M1090</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/70618"&gt;@StefanKern&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;For Your Reference, Please Find The Code In An Image Below.&lt;/P&gt;&lt;P&gt;I Am Getting Some JSON Parsing Error and sometimes blank Page.&lt;BR /&gt;Can You Help Me By Providing Code Snippet Related To This Issue. For Your Information I Am Accessing AuditLogs.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-26 094835.png" style="width: 973px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22905i77BEB9007B1227EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-09-26 094835.png" alt="Screenshot 2024-09-26 094835.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 05:55:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257171#M1090</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2024-09-26T05:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257272#M1094</link>
      <description>&lt;P&gt;It seems like you have syntax error in the code.&lt;BR /&gt;&lt;BR /&gt;You should use the curly braces around `result.data` and `&amp;lt;/DataTable/&amp;gt;` as following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{result.data &amp;amp;&amp;amp; (
  &amp;lt;DataTable data={auditLogsData} columns={convertToColumns(auditLogsData)}&amp;gt;
  &amp;lt;/DataTable/&amp;gt;
)}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 13:57:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257272#M1094</guid>
      <dc:creator>imsingh</dc:creator>
      <dc:date>2024-09-26T13:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257668#M1098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if the above solution works for you, if so, please 'accept as solution'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, PEnny&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 06:48:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257668#M1098</guid>
      <dc:creator>PennyScully</dc:creator>
      <dc:date>2024-10-01T06:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257698#M1099</link>
      <description>&lt;P&gt;Thanku For The Update.&lt;BR /&gt;But I am still facing issue.&lt;/P&gt;&lt;P&gt;If Possible Then You Can Forward Your Working Version (Audit Logs)&lt;BR /&gt;PFA AuditLogs JSX File and App Function File&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-01 141526.png" style="width: 409px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23081i153C24B5D78F3940/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-10-01 141526.png" alt="Screenshot 2024-10-01 141526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-01 141401.png" style="width: 895px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23080iA84CEF4BAE25E34F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-10-01 141401.png" alt="Screenshot 2024-10-01 141401.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 10:18:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257698#M1099</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2024-10-01T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257954#M1102</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Not Sure if you found a solution for this yet but can you just paste your error here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes all you have to do is do JSON.stringify(data) in the code and then in the DataTable use JSON.parse(data). This ensures that all the JSON data is properly organised with proper formatting.&lt;BR /&gt;&lt;BR /&gt;In your case all you have to do is change these two steps.&lt;BR /&gt;const auditLogsData = JSON.stringify(result);&lt;/P&gt;&lt;P&gt;Then in DataTable you change data={JSON.parse(auditLogsData)}&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 09:47:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257954#M1102</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2024-10-03T09:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custum App &amp; App Functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257980#M1103</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:55:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Custum-App-amp-App-Functions/m-p/257980#M1103</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2024-10-03T11:55:26Z</dc:date>
    </item>
  </channel>
</rss>

