Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Populate Email on Create User Form

Bhargav
New Contributor
New Contributor

Hello,

We have a requirement to populate the "Requestee email" on create user form dynamically(editable).

Is it possible to achieve this? If possible, please let me know how can I achieve this?

Bhargav_0-1713891040789.pngBhargav_1-1713891062460.pngBhargav_2-1713891100689.png

 

Thanks,

Bhargav.

11 REPLIES 11

Raghu
Valued Contributor III
Valued Contributor III

@Bhargav  try below article reference you can generate mail id and display , 

https://forums.saviynt.com/t5/third-party-access-governance/register-user-form/m-p/83712#M614

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

It will be the user who is requesting for create user request ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Raghu
Valued Contributor III
Valued Contributor III

@Bhargav  based on request on behalf display you can populate request  on email id

Create dyanmic attribute:

Attribute Name :Displayname

Attribute Label :Displayname

Example:

1.Single select from query : select u.username as ID from Users u where u.statuskey=1 and u.customer=15

2.Editable check it

3.What action to perform when Parent attribute changes? : Mapping

B.email id

1.Single select from query : select u.email as ID from Users u where u.username = ${Displayname}

2.Editable check it

3.Parent Attribute : Displayname

4.What action to perform when Parent attribute changes? : Mapping

 

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Bhargav
New Contributor
New Contributor

Hi,

We have two dynamic attributes (displayname, email) and we need to auto-populate the requestor email based on the selecting requestor's displayname.

How can we achieve this?

Thanks,

Bhargav.

It should not be editable correct ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi Rushi,

Yes, it should not be editable and it should grayed out.

 

Thanks,

Bhargav.

rushikeshvartak_0-1714015221480.png

Query :select displayname as id from users where userkey =${loggedInUser.id}

Query : 

select email as id from users where userkey =${loggedInUser.id}

rushikeshvartak_1-1714015264794.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Thanks Rushi,

Its populating my displayname and email id.

My requirement is -- if i raised request on behalf of someone, I should able to select that person display name from users list.(in dropdown)

Once I selected that person displayname, his/her email id should be auto-populated.

Bhargav_0-1714017126238.png

Please suggest on this.

Thanks,

Bhargav

[This message has been edited by moderator to mask email address]

select email as id from users where displayname=${requesteedisplayname}

Change query as mention above also add mapping and parent attribute in email

Please note displayname can not be unique in system so it may suggest multiple name

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

rushikeshvartak_0-1714018736061.png

rushikeshvartak_0-1714019054866.png

 

 

RequesteeDisplayname

select displayname as id from users where statuskey=1

rushikeshvartak_3-1714018820471.png

rushikeshvartak_2-1714018799121.png

 

RequesteeEmail

rushikeshvartak_4-1714018862180.png

rushikeshvartak_5-1714018875891.png

 

 

 

 

 

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Raghu
Valued Contributor III
Valued Contributor III

@BhargavPlease can use below it work already verified

1.Value : Single select from query : select u.displayname as ID from Users u where u.statuskey=1

2.Editable check it

3.What action to perform when Parent attribute changes? : Mapping

B.email id

1.Value : Single select from query : select u.email as ID from Users u where u.displayname= ${Displayname}

2.Default Value : select u.email as ID from Users u where u.displayname= ${Displayname}

3.Parent Attribute : Displayname

4.What action to perform when Parent attribute changes? : Mapping

CR_0-1714018849817.png

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.