and more in a single search tool across platforms. Read the announcement here. |
02/05/2024 06:24 AM
Hello,
We are creating a Create User Form having dynamic attributes. mpe_username, mpe_surname and dealernet_id_number.
We need dealernet_id_number as "002[mpe_username][mpe_surname]".
We have tried select concat('002', ${mpe_givenname},${mpe_surname}) as ID
but that does not populate the value in required customproperty and it remains empty after user is created.
Referring to solution provided at Solved: Create User form - Populating an attribute value b... - Saviynt Forums - 55612.
Assistance required.
02/05/2024 01:13 PM
Hi ,
Please try with:
1. Parent Dynamic attributes: mpe_givenname and mpe_surname
What action to perform when Parent attribute changes?: Refresh for both
2. Child Dynamic attribute : dealernet_id_number
select concat('002',${mpe_givenname},${mpe_surname}) as ID
02/05/2024 06:58 PM
Share dynamic attributes configs
02/05/2024 08:31 PM - edited 02/05/2024 08:35 PM
Hello Shreya, thanks for the reply. We have been using the same configuration as you have suggested. Still it does not work. Sharing the screenshots of the config.
These attributes are level 2 and level 3 dependency hierarchy. Another attribute 'usertype' is the main DA on which these are depended.
usertyoe->mpe_firstname,mpe_lastname -> dealernet_id_number.
We are using action string in the usertype to SHOW/HIDE these attributes.
02/05/2024 08:32 PM
Share screenshot
02/05/2024 08:55 PM
Try by using just 1 attribute as parent.
02/05/2024 08:58 PM
We have been trying single attribute as parent. Not working.
02/05/2024 09:13 PM
can you share a more detailed screenshot of all DAs used.
02/05/2024 09:20 PM
There are around 50 DA. I can share the action string if that helps
02/05/2024 09:58 PM
Provide impacted 3 DAs
02/05/2024 10:03 PM
We have 3 different user types - AUH Dealer, Internal User, MPE Dealer. Below is the action string for the above 3 attributes.
HIDE###mpe_givenname###Please select user type___HIDE###mpe_surname###Please select user type___HIDE###dealernet_id_number###Please select user type___HIDE###mpe_givenname###AUH Dealer___HIDE###mpe_surname###AUH Dealer___HIDE###dealernet_id_number###AUH Dealer___HIDE###mpe_givenname###Internal User___HIDE###mpe_surname###Internal User___HIDE###dealernet_id_number###Internal User___SHOW###mpe_givenname###MPE Dealer___SHOW###mpe_surname###MPE Dealer___SHOW###dealernet_id_number###MPE Dealer___REQ###mpe_givenname###MPE Dealer___REQ###mpe_surname###MPE Dealer___NREQ###dealernet_id_number###MPE Dealer___
02/07/2024 07:24 PM
Hello Shreya and Rushikesh,
I have a simpler usercase.
Created 2 attributes - samplefn (parent) and sampleid (child). Attached is the screenshot for the configurations of these attributes. Also attached is the result on UI where no records are shown in the dropdown.
samplefn - String
sampleid - Single select from SQL Query - select ${samplefn} as ID;
Below are the logs for this issue.
Please assist to resolve.
02/07/2024 07:25 PM - edited 02/07/2024 08:37 PM
You can't use mapping on String attribute type
02/07/2024 08:36 PM
We tried this approach. It needs a extra trigger attribute which will trigger the child attribute when the parent attribute is changed. Is there any way we can eliminate the trigger attribute ?
02/07/2024 08:37 PM
No
You can't use mapping on String attribute type
02/07/2024 08:51 PM
Can we use mapping on Enum or Boolean kind of data types?
02/07/2024 08:59 PM
You can use