Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

agottwald
New Contributor

SetAppProperties and full dynamic properties

Hello,

according to the Engine-Api documentation full dynamic properties are supported for apps. This works well in Qlik Sense Desktop but not for the server.

{

  "handle": 1,

  "method": "SetAppProperties",

  "params": {

    "qProp": {

      "qTitle": "",

      "qLastReloadTime": "",

      "description" : "xxx",

      "grpTest" : "615"

    }

  }

}

The request is supposed to set the description and the grpTest property of the app. In Qlik Sense Desktop the values areS written as expected. Even JSON objects and lists can be save to arbitrary property names.

Using Qlik Sense Server the request is succesful but only description is updated. grpTest is not created at all. Updating the app using the repository services, selections and synthetics does not work either.

Is there a different way to create properties with arbitrary names for an app on the server?

6 Replies
Employee
Employee

Re: SetAppProperties and full dynamic properties

Unfortunately, arbitrary dynamic properties are not supported for apps in server. The only dynamic properties you can use on server are "description" and "dynamicColor". No other dynamic properties will be persisted.

Our documentation does not seem to reflect this though, and we will make sure to update it accordingly.

Thanks for pointing this out to us!

Employee
Employee

Re: SetAppProperties and full dynamic properties

It's a shame would have been nice seeing that added in the future.

We also had the need to save some arbitrary meta-data against our app, as a workaround we persisted a transient object instead. Downside is that you need a open app handle to access it, would have been nice to be able to get at it from the global scope.

Employee
Employee

Re: SetAppProperties and full dynamic properties

Correction: The are more dynamic properties available than the two I listed. The dynamic properties that are persisted are the ones used by the QRS which includes "description", "dynamicColor", "title" and a few others. But properties that the QRS does not care about are unfortunately discarded.

konrad_mattheis
Contributor III

Re: SetAppProperties and full dynamic properties

Hi,

I also really would like if this feature is like the documentation. So please don't correct the documentation, please correct the software.

The Qlik Sense Desktop can handle it already right, so please do this also for the server version.

bye

Konrad

Employee
Employee

Re: SetAppProperties and full dynamic properties

Short follow up on this thread: We have a feature request filed for the topic discussed above, and I will let you know when there is any progress in this area.

Employee
Employee

Re: SetAppProperties and full dynamic properties

The list of which properties are persisted can be found at this location:

http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/EngineAPI/Content/Structs/NxAppProperties....

Community Browser