We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Display attribute on user form based on requestor

prachi
Regular Contributor II
Regular Contributor II

Hi,

We are working on user creation form, we have the requirement to show one if the dynamic attribute "SHOPID", only if the cp8 of requestor is NOT NULL, else if NULL hide the attribute.

We have created a parent attribute and a child attribute "SHOPID" and this works when we have parent attribute as not hidden. But as per the requirement we dont want to show the parent attribute we created to fetch cp8 of user and where we have action string.

Any inputs here woud be helpful

8 REPLIES 8

rushikeshvartak
All-Star
All-Star

You need to keep parent dynamic attribute visible then only it will work this is expected behavior 


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

prachi
Regular Contributor II
Regular Contributor II

Any solutions through GSP customiation?
I tried to use hide() function, but thats not working as well.

You can achieve using gsp modification


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

prachi
Regular Contributor II
Regular Contributor II

Yes, I am looking for a sample code snippet for the GSP chnages which would hide a attribute based on certail conditions.

Refer gsp customization sample example 

https://forums.saviynt.com/t5/identity-governance/show-attachment-as-mandatory-only-for-create-user-...


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

@prachi  Did you able to achieve requirements ?


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

prachi
Regular Contributor II
Regular Contributor II

Hi,

Yes we were able to acheive it after making the change in the GSP file.

Please share gsp for reference 


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