<?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 Nebula extension property panel not rendering in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/1962641#M17110</link>
    <description>&lt;P&gt;I am trying to familiarize myself with creating nebula extensions but can't figure out how to get the property panel to render. I am using the info here as my guide:&lt;A href="https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense" target="_blank"&gt;https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const properties = {
//========================================================================
definition: {
  type: 'items',
  component: 'accordion',
  items: {
    component: 'expandable-items',
    items: {
      header1: {
        type: 'items',
        label: 'Header 1',
        items: {
          myText:{
            ref: 'props.text',
            label: 'Item 1',
            type: 'string',
            expression: 'optional'
        }
        },
      },
    },
  },
}
//========================================================================
}
export default properties;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import {useLayout, useElement, useEffect} from '@nebula.js/stardust';
import properties from './object-properties';


export default function (galaxy) {
  console.log('props',properties);
  console.log('galaxy',galaxy);
  return {
    ext:{
      properties
    },
    qae: {
      
    },
    component() {
      const element = useElement();
      const layout = useLayout();

      useEffect(() =&amp;gt; {
        element.innerText= 'Refreshed: ' + new Date().toISOString()
        console.log({e:element,l:layout});
      })
    },
  };
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nebula Dev Hub" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/85508iCB182331B9D26171/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Example.PNG" alt="Nebula Dev Hub" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Nebula Dev Hub&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 02:11:51 GMT</pubDate>
    <dc:creator>devan9876</dc:creator>
    <dc:date>2022-08-01T02:11:51Z</dc:date>
    <item>
      <title>Nebula extension property panel not rendering</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/1962641#M17110</link>
      <description>&lt;P&gt;I am trying to familiarize myself with creating nebula extensions but can't figure out how to get the property panel to render. I am using the info here as my guide:&lt;A href="https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense" target="_blank"&gt;https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const properties = {
//========================================================================
definition: {
  type: 'items',
  component: 'accordion',
  items: {
    component: 'expandable-items',
    items: {
      header1: {
        type: 'items',
        label: 'Header 1',
        items: {
          myText:{
            ref: 'props.text',
            label: 'Item 1',
            type: 'string',
            expression: 'optional'
        }
        },
      },
    },
  },
}
//========================================================================
}
export default properties;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import {useLayout, useElement, useEffect} from '@nebula.js/stardust';
import properties from './object-properties';


export default function (galaxy) {
  console.log('props',properties);
  console.log('galaxy',galaxy);
  return {
    ext:{
      properties
    },
    qae: {
      
    },
    component() {
      const element = useElement();
      const layout = useLayout();

      useEffect(() =&amp;gt; {
        element.innerText= 'Refreshed: ' + new Date().toISOString()
        console.log({e:element,l:layout});
      })
    },
  };
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nebula Dev Hub" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/85508iCB182331B9D26171/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Example.PNG" alt="Nebula Dev Hub" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Nebula Dev Hub&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 02:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/1962641#M17110</guid>
      <dc:creator>devan9876</dc:creator>
      <dc:date>2022-08-01T02:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nebula extension property panel not rendering</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/2001312#M17519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/39916"&gt;@devan9876&lt;/a&gt;&amp;nbsp;, try to build the extension and then import it into your Qlik Sense server / Desktop.&lt;BR /&gt;I know that runnning nebula extensions on local machine doesn't show you custom properties panel&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 16:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/2001312#M17519</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2022-11-07T16:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nebula extension property panel not rendering</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/2006712#M17609</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The property panel still doesn't seem to render even when I import it into Qlik Sense Desktop.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94135i49B0F552118261E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the same property panel declaration works fine when I use the old method of creating extensions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94136i1FA46BF66CC24E88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="6"&gt;&lt;STRONG&gt;Nebula Code (Doesnt work):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;export default function (galaxy) {
  return {
    ext:{
      definition: {
        type: 'items',
        component: 'accordion',
        items: {
          section1: {
            component: 'expandable-items',
            label: 'Section !',
            items: {
              header1: {
                type: 'items',
                label: 'Header !',
                items: {
                  myText: {
                    ref: 'props.text',
                    label: 'Item 1',
                    type: 'string',
                    expression: 'optional'
                  }
                }
              }
            }
          }
        }
      }
    },
    qae: {
    },
    component() {
      const element = useElement();
      element.innerText='hello!';
    },
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="6"&gt;Old Extension Method Code (works):&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;define( [ "qlik"
],
function ( qlik) {

	return {
		definition: {
			type: 'items',
			component: 'accordion',
			items: {
				section1: {
					component: 'expandable-items',
					label: 'Section !',
					items: {
						header1: {
							type: 'items',
							label: 'Header !',
							items: {
								myText: {
									ref: 'props.text',
									label: 'Item 1',
									type: 'string',
									expression: 'optional'
								}
							}
						}
					}
				}
			}
		},
		support : {
			snapshot: true,
			export: true,
			exportData : false
		},
		paint: function ($element) {
			//add your rendering code here
			$element.html( "hello-capabilities" );
			//needed for export
			return qlik.Promise.resolve();
		}
	};

} );
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 17:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/2006712#M17609</guid>
      <dc:creator>devan9876</dc:creator>
      <dc:date>2022-11-19T17:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nebula extension property panel not rendering</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/2007157#M17613</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/39916"&gt;@devan9876&lt;/a&gt;&amp;nbsp;, I can suggest to use nebula-cli for building and compiling nebula visualizations. &lt;A href="https://qlik.dev/libraries-and-tools/nebulajs/nebula-cli#how-to-run-nebula-cli" target="_self"&gt;Here&lt;/A&gt; how to use it. Basically, run &lt;EM&gt;npx '@nebula.js/cli' create "your extension name"&lt;/EM&gt;, then open the project and modify the ext.js file and insert your definition like below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;export default {
  definition: {
    type: 'items',
    component: 'accordion',
    items: {
      section1: {
        component: 'expandable-items',
        label: 'Section !',
        items: {
          header1: {
            type: 'items',
            label: 'Header !',
            items: {
              myText: {
                ref: 'props.text',
                label: 'Item 1',
                type: 'string',
                expression: 'optional'
              }
            }
          }
        }
      }
    }
  },
  support: {
    snapshot: false,
    export: true,
    sharing: false,
    exportData: true,
    viewData: true,
  },
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just tested your configuration and it works fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alex_colombo_0-1669048336966.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94208i85399E57717F9721/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alex_colombo_0-1669048336966.png" alt="alex_colombo_0-1669048336966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happend behind the scenes when you use nebula-cli is converting modern JS into normal JS. Indeed, if we inspect compiled code, we will see the "old" definition&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;define((function () { 'use strict';

  var ext = {
    definition: {
      type: 'items',
      component: 'accordion',
      items: {
        section1: {
          component: 'expandable-items',
          label: 'Section !',
          items: {
            header1: {
              type: 'items',
              label: 'Header !',
              items: {
                myText: {
                  ref: 'props.text',
                  label: 'Item 1',
                  type: 'string',
                  expression: 'optional'
                }
              }
            }
          }
        }
      }
    },
    support: {
      snapshot: false,
      export: true,
      sharing: false,
      exportData: true,
      viewData: true
    }
  };

  return ext;

}));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 16:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Nebula-extension-property-panel-not-rendering/m-p/2007157#M17613</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2022-11-21T16:35:28Z</dc:date>
    </item>
  </channel>
</rss>

