Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
leonling
New Contributor III

How to set the custom property for an app on creation?

Hello,

I am currently attempting to use custom properties to manage streams such that users would be categorized into different departments. For example, this one custom property called Department would have values of Sales or Finance.

So once an app is created by a user, it doesn't have any default custom property set. Is there a a way such that the custom property would be set based on what the custom property of the user is?

For example, if the user has a custom property value of Sales for the Department custom property, then the app would automatically have the Department custom property set to "Sales". That way, the admin for the stream can see and publish the app by any particular user within the stream.

Thanks.

1 Solution

Accepted Solutions
MVP & Luminary
MVP & Luminary

Re: How to set the custom property for an app on creation?

I don't think you can set custom properties automagically when a user creates an app. Perhaps you can use a stream instead like "Sales Concepts" that you allow the user to publish to. Then the Admin can look at that stream and duplicate apps to the final "Sales" stream.


talk is cheap, supply exceeds demand
3 Replies
MVP & Luminary
MVP & Luminary

Re: How to set the custom property for an app on creation?

I don't think you can set custom properties automagically when a user creates an app. Perhaps you can use a stream instead like "Sales Concepts" that you allow the user to publish to. Then the Admin can look at that stream and duplicate apps to the final "Sales" stream.


talk is cheap, supply exceeds demand
leonling
New Contributor III

Re: How to set the custom property for an app on creation?

That's a huge bummer that it can't be automated like that.

Thanks for the assistance. I will try to implement a workaround or at least try a derivative of what you mentioned.

By the way, are we assuming that the developers/users have access to the QMC when you say that the user will publish to a particular stream? How would you prevent two users editing the same exact app? Won't it cause a version conflict?

MVP & Luminary
MVP & Luminary

Re: How to set the custom property for an app on creation?

No, if a user has access to the hub and has rights to publish to a stream he/she can do that from the hub. Two users cannot edit the same app. Only one user can be owner of an app at a time. Only the owner can edit the app.


talk is cheap, supply exceeds demand