<?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 Javascript based editor won't work in extension object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590338#M1242128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an extension object for text input. We allow HTML text so I was looking at using one of the open source solutions like &lt;A href="http://www.ckeditor.com/" target="_blank"&gt;www.ckeditor.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the ckeditor folder in my extension object folder, and putting a simple test html page (ckeditor.htm) works fine. But if I try to output the exact same HTML into my extension object then just a regular old textarea appears in my extension object and not the rich test editor I expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first error I ran into (or debugged rather) was the fact that apparently extension objects don't have access to anything below the root folder (that seems insane to me). The workaround I found is to add a Definition.xml to the subdirectory and that magically gives it access. I can confirm the .js file loads because if I add an alert in there then I see that alert pop up when my extension object pops up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why this isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Javascript based editor won't work in extension object</title>
      <link>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590338#M1242128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an extension object for text input. We allow HTML text so I was looking at using one of the open source solutions like &lt;A href="http://www.ckeditor.com/" target="_blank"&gt;www.ckeditor.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the ckeditor folder in my extension object folder, and putting a simple test html page (ckeditor.htm) works fine. But if I try to output the exact same HTML into my extension object then just a regular old textarea appears in my extension object and not the rich test editor I expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first error I ran into (or debugged rather) was the fact that apparently extension objects don't have access to anything below the root folder (that seems insane to me). The workaround I found is to add a Definition.xml to the subdirectory and that magically gives it access. I can confirm the .js file loads because if I add an alert in there then I see that alert pop up when my extension object pops up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why this isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590338#M1242128</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript based editor won't work in extension object</title>
      <link>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590339#M1242131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script.js file you are injecting a html page into a page which won't work.&lt;BR /&gt;A page can only have a set of html, head and body tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you are correct, to safeguard extensions a definition.xml file has to be present in every, or the last folder in a tree, folder for QVS to serve it up for you. Also this will probably break the css files so you might have to replace the paths to any images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also missed to instantiate the editor through&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Menlo, 'Courier New', Courier, monospace; font-size: 0.9em; color: inherit;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;A class="docClass" href="http://docs.ckeditor.com/#!/api/CKEDITOR-method-replace" rel="CKEDITOR-method-replace" style="border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #aaaaaa; color: #0c7fcc;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;CKEDITOR&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;replace&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #008800;"&gt;'editor1'&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Menlo, 'Courier New', Courier, monospace; font-size: 0.9em; color: inherit;"&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;Check out their getting started guide &lt;A href="http://docs.ckeditor.com/#!/guide/dev_installation" title="http://docs.ckeditor.com/#!/guide/dev_installation"&gt;CKEditor 4 Documentation&lt;/A&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 17:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590339#M1242131</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2014-05-03T17:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Javascript based editor won't work in extension object</title>
      <link>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590340#M1242135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I was on vacation last week so just getting around to replying.&lt;/P&gt;&lt;P&gt;Ok, so now all I am doing is outputting the form and contents with a javascript call immediately after to instantiate and it still doesn't work.&lt;/P&gt;&lt;P&gt;What am I missing? Is there a simple way to debug extension objects? So far my development has consisted of just a lot of trial and error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be pretty simple to test out. Does it work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 15:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Javascript-based-editor-won-t-work-in-extension-object/m-p/590340#M1242135</guid>
      <dc:creator />
      <dc:date>2014-05-13T15:14:55Z</dc:date>
    </item>
  </channel>
</rss>

