Single Userrole Selection

0
Hi Team, I am trying to implement single userrole selection for a application. Steps I have taken so far.   Created a user entity in my module associated it with 1-1 association with administration.account entity I want to have a userrole selection but it should not allowed the multiple user role selection. For this I have taken a input reference set selector, also mentioned a  pop up page to show all userroles to select named as userrole_select.I have attached the screenshot of this page as well.   One important note :- I am making these changes in 10.12.4 version of studio pro   On this page container called a microflow ACT_assign_role I am not sure how can i assign these userroles as single assigned value and mapped it to the account entity to referesh and display.   Kindly assist me here. 
asked
1 answers
1

Hi Indrani Sharma,

 

You need not create any new flow for this. just a little bit of customization is enough. 

The user role selection in the Account_New page is a group box widget. Add an On Change event, retrieve the user role entity with the association, find the count (aggregate list activity), remove the latest user role object from the association, and show an info message.

 

I would suggest duplicating the account new page and placing it in your module and adding your customization there since updating the module will lose your customizations.

answered