Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] "Default Value" for Data Model Entity

Good morning,
I wonder if it is possible to define a default value for an element of my data model? I named it "status", type "string" and would like to set it to "new" as default within the data model. Later I would like to change that value with a job.
Can anyone help?

Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi,
It is better if you specify the version that you are working on. If the version that you are working is 5.0.1, then you can set a default value on any element of your data model. Right click on the element and select Set the Default Value Rule, in that you can select any string function for string type of element. In that you can select any function like uppercase() or lowercase(). You can specify the value as parameter.
For example :
fn:upper-case("new")
In GUI, it displays as NEW for the element.
Regards,
Lalitha.
Anonymous
Not applicable
Author

Thank you, but I don't find that property (see attached image). I am working on the latest version 5.0.2.
Anonymous
Not applicable
Author

Hi dvz.berger,
Default/Visible rules are located in the "Properties" tab of the Data Model (when you select an element), in "Rule" subtab.
See enclosed screenshot.
HTH,
Cyril.
Anonymous
Not applicable
Author

Hi,
no, it's not there in my MDM client 5.0.2 (see attached picture). Any ideas?
Thank you.
Anonymous
Not applicable
Author

Hi,
The visible/default rules are only available on the Enterprise version.
Regards,
SeB