8 Replies Latest reply: May 23, 2017 12:24 PM by Peter Cammaert RSS

    What are the object property names that I can pass to SetProperty?

    Daniel Osborne

      Hello,

       

      I'm working with a QlikView Document extension and trying to change object properties from my JavaScript code.

       

      From the API documentation available:

       

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

       

      and taking for example a line object, 'LA14', I am able to use:

       

      Qv.GetCurrentDocument().GetObject('LA14').Layout.SetProperty('Caption.Text','test#ff0000',true);

       

      to change the caption label to 'test#ff0000'.

      The problem comes when I want to change anything else, such as the background colour (color) because the documentation doesn't list the property names that you need to pass to the function SetProperty. For example the only reason I knew to use 'Caption.Text' is because it was in the example. I have tried 'Background.Color', 'Presentation.Color' and many other variants but with no luck.

       

      Where can I find a list of these property names?

       

      Thanks,