and more in a single search tool across platforms. Read the announcement here. |
03/13/2024 12:33 AM
Hello,
We would like to create a dynamic attribut with the Savynt's API.
Solved! Go to Solution.
03/13/2024 12:50 AM
share DA payload
03/13/2024 01:31 AM
03/13/2024 02:03 AM - edited 03/13/2024 02:09 AM
Hi @Antoine ,
Try passing below JSON code, it will work:
{
"securitysystem": "Teamtest",
"endpoint": "Teamtest",
"updateuser": "admin",
"dynamicattributes": [
{
"accountscolumn": "customproperty1",
"hideoncreate": "false",
"attributegroup": "group",
"orderindex": "1",
"requesttype": "ACCOUNT",
"actionstring": "action string",
"editable": "true",
"attributename": "air97",
"hideonupdate": "false",
"actiontoperformwhenparentattributechanges": "",
"defaultvalue": "default",
"attributelable": "dyn attr label",
"required": "false",
"attributetype": "SINGLE SELECT FROM SQL QUERY",
"regex": "",
"attributevalue": "select distinct entitlement_value as 'ID', description as 'inlinedescription' from entitlement_values where ENTITLEMENTTYPEKEY ='123'",
"showonchild": "false",
"Parentattribute": "parent",
"descriptionascsv": "desc"
}
]
}
If this reply answers your question, please consider selecting Accept As Solution and hit kudos.
03/13/2024 02:54 AM
Same issue with your payload
03/13/2024 03:10 AM
it will work share payload
03/13/2024 03:40 AM
@Antoine ,
I think it's because of the version 5.5 SP 3.X
This could be a bug in the previous versions and was fixed in 23.7 from the screenshot. Please upgrade the version, it works!
03/13/2024 11:17 PM
Yes you are right. I tried on my 24.1 sandbox and it works fine.
This issue occured on my 5.5 SP5
Thanks for your help