on 09-12-2018 11:05 AM
Hi Experts,
I try to create a role with an attribute by XS CLI
How do we have to use it, if we want to include a JSON for "Static" and the "Value" in the command?
xs create-role TBASE Display RoleDisplayAttrPatIDAll "Role Display Attribute PatID for All" -s TEST {"key": "*"} {"key": "Static"}
I don't know, what kind of key we do have to use.
Thanks!
Hi Dirk,
I had the same problem. The expected JSON format is
{
"here your Attribute Name" : {
"value" : "<enter value here>",
"source" : "static"
}
}
So as a one liner your solution would be propably the following
xs create-role TBASE Display RoleDisplayAttrPatIDAll "Role Display Attribute PatID for All" -s TEST -a "{\"here your Attribute Name\" : {\"value\" : \"*\",\"source\" : \"static\"}}"
hope this helps
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.