Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
agottwald
Contributor
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
Øystein_Kolsrud
Employee
Employee

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!

Alexander_Thor
Employee
Employee

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.

Øystein_Kolsrud
Employee
Employee

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
Luminary Alumni
Luminary Alumni

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

Øystein_Kolsrud
Employee
Employee

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.

Øystein_Kolsrud
Employee
Employee

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....