Qlik Community

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

QlikView Extension - GetProperties

Hello together,

I´m currently trying/struggling to access the properties of a QlikView Object (TableChart in this case) through an QlikView Object Extension with JavaScript.

The problem is, the JavaScript API-Guide only has a "SetProperty"-Function:

https://help.qlik.com/en-US/qlikview-developer/12.0/apis/js%20API/symbols/Qv.Document.Object.Layout....

which can be fed with the following strings/parameters to set the desired property:

https://help.qlik.com/en-US/qlikview-developer/12.1/Subsystems/Extensions/Content/extensions-propert...

which looks like:

tableChart.Layout.SetProperty('Chart.Dimension.0.Field', 'Field1', true);

if you want to set a new Field to the first Dimension.

This works so far, but how can I access these values?

The


tableChart.Layout-Object

does not have a "Chart"-Propertie for example.

If I print out all nodes of the tableChart.Layout-Object, I get the following for SetProperties:

SetProperty: function(b,d,c){this.Super.DocumentMgr.Set(this.Super.Name,{property:b,value:d},c)}

The DocumentMgr has no Get-Function als far as I know....


Maybe someone else already did what I´m trying to achieve and has an idea already.

Thanks in advance.

Best regards

Florian