Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to know if it is possible now to enable Alternative Dimension and Measure in an extension vizualisation ?
If yes, how we manage that in the properties panel and if there is something else to do.
I can't see anything in the documentation Qlik Sense 2.2 for Developpers on that.
I succeed to display alternative dimension/measure menu in edit mode chaging definition like that :
definition: {
type: "items",
component: "accordion",
items: {
data: {
uses: "data",
dimensions: {
uses: "dimensions",
min: 1,
max: 1
},
measures: {
uses: "measures",
min: 1,
max: 5
}
},
sorting: {
uses: "sorting"
},
after parameter alternative dimension in non EDIT mode Explore menu tooltip didn't appear, I found how to activate it adding this :
me.snapshot = {
canTakeSnapshot : true
};
me.softDefinition = {
canShowExploreMenu : true
};
It works but nothing appear in the Explore menu. For the moment I didn't find how to make it work completly :
Feel free to help me to answer my open point ![]()
Did you find the solution to add the alternative dimensions?
Regards!
Ricardo
definition:{
type:"items",
component:"accordion",
items:{
data:{
uses:"data"
}
// prop
/*dimension:{
uses:"dimensions",
min:0,
max:0
},
/*measure:{
uses:"measures",
min:1,
max:1
}*/
}
},
support: {
snapshot: false,
export: false,
exportData: false
},
softDefinition : {
canShowExploreMenu : true
},I found a way like this but had same problem as you did still cannot find the alternate dimension to switch to
Hello all,
I faced the same problem when I tried to develop my own extension. Did you already solve this problem? If yes, then how?
Any help is appreciated. Thank you!
Hi @gchampion , @ajaykakkar93 , @Junru you have to define softDefinition property in the same way as you did for data property
definition: {
type: "items",
component: "accordion",
items: {
data: {
uses: "data",
items: {
dimensions: {
items: {
"nullSuppression": {}
},
min:1,
max:1
},
measures: {
min:1,
max:1
}
}
},
}
},
support: {
snapshot: true,
export: true,
exportData: true
},
softDefinition : {
type: "items",
component: "accordion",
items: {
data: {
uses: "data"
}
}
},