Integration, Extension & APIs

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

Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Who Me Too'd this topic

Manoj_Prabu
Partner - Creator
Partner - Creator

Dimensions & Measures as columns in Qlik Sense properties panels

Hi Community,

I was working on an extension where I need to sort the column order. I can achieve that one by using backendApi.setProperties for qColumnOrder. but I need the Qlik Sense native "column" component in the properties panel.

I'm using something like this.

 

data:{
                type: "items",
                component: "columns",
                translation: "Common.Data",
                sortIndexRef: "qHyperCubeDef.qColumnOrder",
                allowMove: true,
                allowAdd: true,
                addTranslation: "Common.Columns",
                items: {
                    dimensions: {
                        uses:"dimensions",
                        min:1,
                        max:5,
                        add: ()=>(),
                        remove: ()=>()
                    },
                    measures: {
                        uses:"measures",
                        min:1,
                        max:5,
                        add: ()=>(),
                        remove: ()=>()
                    }
                }
}

 

but I couldn't be able to achieve the proper way to add. For me the "Add Columns" button is also not appearing. I also don't know what need to be called in add & remove function.

Please provide the proper way to implement the "Columns" component in qlik sense properties panel. Please also mention what should be returned in add & remove function.

Thanks & Regards,
Manoj Prabu

 

Labels (1)
Who Me Too'd this topic