and more in a single search tool across platforms. Read the announcement here. |
04/12/2022 01:22 PM
Hello Saviynt Team,
In ARS, We want to autoselect the value for Single Select Dynamic Attribute when the SQl query ( Attribute "value" of Dynamic attribute ) return only one row.
Is that possible ?
Thank you !!
Regards,
SANSOUCY Martin
Solved! Go to Solution.
04/12/2022 03:08 PM
Hi Sansoucy Martin,
I dont think that is possible since the output of the SQL is always in the dropdown and not auto selected as default.
Regards,
Avinash Chhetri
04/12/2022 03:08 PM
Hi,
You can copy and paste the SQL query in the "Default Value" of your dynamic attribute. If the query retrieves one value, it should be automatically filled in.
Regards,
Adrien COSSON
04/12/2022 03:08 PM
Thank you for your answer Adrien.
I am using dynamic attributes in the SQL Query.
And seems dynamic attributes are not allowed in "Default Value".
Can someone confirm this ?
Thank you,
Regards,
SANSOUCY Martin
04/12/2022 03:08 PM
Hi Martin,
I believe this might be a small glitch in the UI.
Please try to proceed like below :
04/12/2022 03:08 PM
Thank you Adrien.
Default Value was visible for me on a dynamic attribute with "Single Select SQL Query" type.
We are in 5.5 SP3. We had open a Ticket for this and Saviynt told us, this issue is fixed in last version of saviynt.
04/12/2022 03:08 PM
We did something similar with the register user form. It appears that the default value will select the single result, but it will not map that value to the user record when the form is submitted. Thus, we have to make our users click the drop down and actually select the single result. I have not tested this with ARS to see if the behavior is the same.
04/12/2022 03:08 PM
Same For us, if single result is returned by the query then it was autoselected, but entitlement type filter was (and still is) not working.
We have added None in the dropdown list using an UNION query ( SELECT 'None' as ID UNION SELECT ....) to force the user to select the Value and make the filter work :