<?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: Custom Extension in Mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091818#M18798</link>
    <description>&lt;P&gt;Well u might try to copy and save gridchart.css as gridchart.css.js (duplicate the file in same location)&lt;BR /&gt;maybe it will work , as it will find the file&lt;BR /&gt;&lt;BR /&gt;If this does not work, u may need to look in the extension code, to see how it loads the css, maybe it will be possible to&amp;nbsp; change it there&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 08:43:40 GMT</pubDate>
    <dc:creator>oz_moyal</dc:creator>
    <dc:date>2023-07-09T08:43:40Z</dc:date>
    <item>
      <title>Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2090235#M18755</link>
      <description>&lt;P&gt;Greetings Everyone,&lt;BR /&gt;&lt;BR /&gt;am trying to add a custom extension to my mashup however its showing as invalid (the visualization was not found on the server: extension name()), I have checked the console on my mashup and am seeing 404 not found error in the console.&lt;BR /&gt;I have checked older posts regarding the same topic however it didn't work for me, I have applied the following steps as mentioned in previous posts:&lt;BR /&gt;_add "Access-Control-Allow-Origin: *" to the virtual proxy.&lt;BR /&gt;_added "paths" and "baseUrl" to&amp;nbsp;&lt;SPAN&gt;require&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;config in the mashup.js.&lt;BR /&gt;_added the extension.js and extension.css files in a &amp;lt;script&amp;gt; tag in the header of the html page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;note: the extension is working in the devhub in a test mashup, only when I deploy the mashup in my external server its not loading.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;here is the error massage in console:&lt;BR /&gt;GET https://{servername}/jwt/extensions/gridchart/gridchart.css.js net::ERR_ABORTED 404 (Not Found)&lt;BR /&gt;&lt;BR /&gt;I have attached the following pictures to the error and the working mashup in the devhub.&lt;BR /&gt;Regards.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2090235#M18755</guid>
      <dc:creator>Shadi_Sai</dc:creator>
      <dc:date>2023-07-04T08:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091118#M18774</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/185574"&gt;@Shadi_Sai&lt;/a&gt;&lt;/SPAN&gt; , could you please post your extension code? I'd like to see how do you import css in your extension code.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 13:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091118#M18774</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2023-07-06T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091337#M18779</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for the reply, I have my extension placed inside a container, and I have imported the container as a normal object in the mashup.js file as the following:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;app&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;visualization&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'nuKmddP'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;then&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;vis&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;vis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;show&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"SD6"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;visList&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;push&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;vis&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }); &lt;/SPAN&gt;&lt;SPAN&gt;// container&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then I have added the css file of the grid extension in the website as the follwoing:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; var&lt;/SPAN&gt; &lt;SPAN&gt;style2&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;document&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;createElement&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"link"&lt;/SPAN&gt;&lt;SPAN&gt;); &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;style2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"text/css"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;style2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;rel&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;style2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;href&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;servernameprefix&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;"/extensions/gridchart/gridchart.css"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;document&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;head&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;appendChild&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;style2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;I have tried adding the grid.js and grid.css in the html head tag however it didn't work, so I commented them, this is how I added them:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;lt;script src="&lt;A href="https://dv_main/jwt/extensions/gridchart/gridchart.js" target="_blank"&gt;https://dv_main/jwt/extensions/gridchart/gridchart.js&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;A href="https://dv_main/jwt/extensions/gridchart/gridchart.css" target="_blank"&gt;https://dv_main/jwt/extensions/gridchart/gridchart.css&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 05:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091337#M18779</guid>
      <dc:creator>Shadi_Sai</dc:creator>
      <dc:date>2023-07-07T05:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091439#M18782</link>
      <description>&lt;P&gt;I'm not understanding why you want to import your extension js and css file. If you are embedding the extension in your mashup, both files should be already there. Did you inspect the source files in browser developer tool and search for your extension files?&lt;BR /&gt;Anyway, did you try to put in the browser the url &lt;A href="https://dv_main/jwt/extensions/gridchart/gridchart.js" target="_blank"&gt;https://dv_main/jwt/extensions/gridchart/gridchart.js&lt;/A&gt;? What is the response?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 09:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091439#M18782</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2023-07-07T09:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091457#M18784</link>
      <description>&lt;P&gt;I tried to import extension js and css based on one of the comments that I saw saying that it might work,&amp;nbsp;&lt;BR /&gt;after loading the mashup I can see extension files loaded, I also tried openning the gridchart.js from the url you have given me and its working and I can see the files.&lt;BR /&gt;I have attached screenshot from the developer tool of the browser after openning the mashup.&lt;BR /&gt;note: there is a gridchart.css.js file showing as error 404 not found, I don't know where is this file coming from.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 10:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091457#M18784</guid>
      <dc:creator>Shadi_Sai</dc:creator>
      <dc:date>2023-07-07T10:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091517#M18785</link>
      <description>&lt;P&gt;&lt;SPAN&gt;gridchart.css.js is loaded when ir actually tries to load&amp;nbsp;&amp;nbsp;gridchart.css&lt;BR /&gt;so it misses gridchart.css and you get errors.&lt;BR /&gt;&lt;BR /&gt;This is issue with require.js and file loading&lt;BR /&gt;&lt;BR /&gt;see this:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/RequireJS-appending-js-extension-when-loading-resources/td-p/1696865" target="_blank"&gt;https://community.qlik.com/t5/Integration-Extension-APIs/RequireJS-appending-js-extension-when-loading-resources/td-p/1696865&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 11:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091517#M18785</guid>
      <dc:creator>oz_moyal</dc:creator>
      <dc:date>2023-07-07T11:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091523#M18786</link>
      <description>&lt;P&gt;in that case how can I proceed with this issue, I should use the full URL in&amp;nbsp;&lt;SPAN&gt;require&lt;/SPAN&gt;&lt;SPAN&gt;([&lt;/SPAN&gt;&lt;SPAN&gt;"js/qlik"&lt;/SPAN&gt;&lt;SPAN&gt;], &lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;qlik&lt;/SPAN&gt;&lt;SPAN&gt;) instead of ["js/qlik"] ? which is this way:&lt;BR /&gt;&lt;SPAN&gt;require&lt;/SPAN&gt;&lt;SPAN&gt;('&lt;A href="https://dv_main/jwt/resources/assets/external/requirejs/require.js" target="_blank"&gt;https://dv_main/jwt/resources/assets/external/requirejs/require.js&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;qlik&lt;/SPAN&gt;&lt;SPAN&gt;) as it is mentioned in the url that was in the post?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 12:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091523#M18786</guid>
      <dc:creator>Shadi_Sai</dc:creator>
      <dc:date>2023-07-07T12:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091818#M18798</link>
      <description>&lt;P&gt;Well u might try to copy and save gridchart.css as gridchart.css.js (duplicate the file in same location)&lt;BR /&gt;maybe it will work , as it will find the file&lt;BR /&gt;&lt;BR /&gt;If this does not work, u may need to look in the extension code, to see how it loads the css, maybe it will be possible to&amp;nbsp; change it there&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 08:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091818#M18798</guid>
      <dc:creator>oz_moyal</dc:creator>
      <dc:date>2023-07-09T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091909#M18800</link>
      <description>&lt;P&gt;I have tried duplicating the file in the same directory as gridchart.css.js, however its still not being detected by the browser, even in the sources I don't see it inside the extension folder of the gridchart.&lt;BR /&gt;&lt;BR /&gt;I will try a different chart and see if it will work normally or will I face the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 06:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2091909#M18800</guid>
      <dc:creator>Shadi_Sai</dc:creator>
      <dc:date>2023-07-10T06:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2092178#M18812</link>
      <description>&lt;P&gt;Did u try to export the extension, add the file, zip, and re-import ?&lt;BR /&gt;&lt;BR /&gt;I assume if the new chart will be extension you might the same issue, but it also depends how it loads the files.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 15:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2092178#M18812</guid>
      <dc:creator>oz_moyal</dc:creator>
      <dc:date>2023-07-10T15:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Extension in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2092351#M18818</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9886"&gt;@oz_moyal&lt;/a&gt;&amp;nbsp;, I exported the mashup and added the files as you mentioned and it worked, other extensions showed the same issue but on multiple files not only the .css file.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 05:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Custom-Extension-in-Mashup/m-p/2092351#M18818</guid>
      <dc:creator>Shadi_Sai</dc:creator>
      <dc:date>2023-07-11T05:51:53Z</dc:date>
    </item>
  </channel>
</rss>

