Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
stascher
Partner - Creator II
Partner - Creator II

No layout.props field passed into extension.

I'm creating an extension in which I want users to be able to configure the maximum number of units on the x-axis (MaxValuesX).

I've got the following at the start of my extension's js:

question.png

When I test the extension, I see the "Visible X-axis Value" property in the configuration panel with the proper default value. What I'm not seeing however, is that in my code's paint function:

paint: function($element,layout) {...}

the field of  layout.props.maxValuesX does not exist. In fact, there is no layout.props field at all. 

Any idea what could be causing this? I have other extension objects that use custom props that work just fine. 

Thanks, Steve

Labels (1)
1 Solution

Accepted Solutions
nicu1996
Contributor III
Contributor III

Add 

type: "items" to your object.

Screenshot_756.png

Delete the visualization and add it again to the sheet.

Each reference is created when an object (extension) is added to the sheet.
Screenshot_757.png

View solution in original post

2 Replies
nicu1996
Contributor III
Contributor III

Add 

type: "items" to your object.

Screenshot_756.png

Delete the visualization and add it again to the sheet.

Each reference is created when an object (extension) is added to the sheet.
Screenshot_757.png

stascher
Partner - Creator II
Partner - Creator II
Author

I was about to say this didn't work but then I noticed that you said the extension had to be deleted and re-added to the app. That did the trick. Thank you.