Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

PostPaint Function undefined - CanvasExpress

Hi,

I am trying to create an extension using CanvasExpress (Javascript Charting  Library), But I keep getting the ffg error message:

Capture.PNG

Can someone please help me with this, I have attached my Script.js, Definition.xml, and the canvasExpress Library.

Any help will be greatly appreciated....

Kind Regards

Razak

1 Solution

Accepted Solutions
Alexander_Thor
Employee
Employee

Here is a working sample. I diden't do much but I'm guessing you encountered our "definition.xml feature". We require that you drop a definition.xml file, should be exactly the same as in the root directory, for every sub-folder you include in your extensions.

Breakdown should look something like this:

ExtensionObjectFolder\

-Definition.xml

-Script.js

-Optional Files

ExtensionObjectFolder\js\

-Definition.xml

-JavaScript files

ExtensionObjectFolder\js\SubFolder\

-Definition.xml

etc etc

View solution in original post

2 Replies
Alexander_Thor
Employee
Employee

Here is a working sample. I diden't do much but I'm guessing you encountered our "definition.xml feature". We require that you drop a definition.xml file, should be exactly the same as in the root directory, for every sub-folder you include in your extensions.

Breakdown should look something like this:

ExtensionObjectFolder\

-Definition.xml

-Script.js

-Optional Files

ExtensionObjectFolder\js\

-Definition.xml

-JavaScript files

ExtensionObjectFolder\js\SubFolder\

-Definition.xml

etc etc

Anonymous
Not applicable
Author

Thank You So much!!! 

Kind Regards

Abdur Razak