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