Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

how to use "GetExtendedProperty (name[, idobjet])" function

Hello,

I am new in Qlikview community.

I would like to use "GetExtendedProperty" function but the parameters that I have to put are not very clear for me.

Please can you help me and give me an example ?

sheet properties.jpg

In fact, I would like to retrieve "ShowMode" data (normal or minimized)  of ObjectID CH108, I suppose that I can with "GetExtendedProperty"

Thank you

Johann

1 Reply
Not applicable

Re: how to use "GetExtendedProperty (name[, idobjet])" function

Hello Johann,

I've found your question from Google search as I was also looking in to the GetExtendedProperty method. I've since understood how it works and i'll share here in case other people also find your original question.

Definition.xml allows the developer to defined ServerSide properties that can later be retrieved via the GetExtendedProperty method. Example in Definition.xml:
...
<Property Name="test" Value="one" Type="String" />

...

If I wanted to use this property in for example a measure in the extension, I would then place it like so:

GetExtendedProperty('test');

and it will display the string: one


Screen Shot 2015-12-17 at 17.47.41.png


The second argument would allow me to specify the Object id of the extension it self, but its an optional argument. Usage could be the following if the extension Object id would be: 'Server\CH03-12'


GetExtendedProperty('test', 'Server\CH03-12')

Community Browser