Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

gchampion
New Contributor III

How to enable Alternative Dimensions and/or Measures in an Extension ?

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.

3 Replies
gchampion
New Contributor III

Re: How to enable Alternative Dimensions and/or Measures in an Extension ?

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 :

Capture.PNG

Feel free to help me to answer my open point

Partner
Partner

Re: How to enable Alternative Dimensions and/or Measures in an Extension ?

Did you find the solution to add the alternative dimensions?

Regards!
Ricardo

ajaykakkar93
Contributor III

Re: How to enable Alternative Dimensions and/or Measures in an Extension ?

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

 

Regards & Thanks,
Ajay Kakkar
ajaykakkar93@gmail.com