cancel
Showing results for 
Search instead for 
Did you mean: 

Field display based on role

Former Member
0 Kudos

Hi,

I am using Portal with MDM. My requirement is, based on certain role only , few fields in a iview should be displayed. For example, "Approve" button should be displayed only for people with Manager role. How to acheive this?

Thanks

Prabhu.M...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Prabhu,

Using UME API you can get the roles of the user. Compare the roles and then hide and unhide the UI elements.

I think it will solve your problem.

Regards,

Vibha

Answers (2)

Answers (2)

Former Member
0 Kudos

resolved

Former Member
0 Kudos

Hi Prabhu

I am using Portal with MDM. My requirement is, based on certain role only , few fields in a iview should be displayed. For example, "Approve" button should be displayed only for people with Manager role. How to acheive this?

You can maintain a separate table in MDM for controlling the ACCESS. Based on the type of role for the fields we need to control access can have different entries( read write access, read only access, No display)

the table may look like:

User name Field1 field2 field3 field4

U1 display read/write read only no Access

Portal will read this table first and serach for the requestor ID to determine his access.

Best regards

Ravi