I have a block (which is on a popup). In the block I want to select one or more users from a list and display their name on the main screen. How can I do this?
Hi Shooose,
You will need to use events and through these events pass these values in a list.
Is this helpful or do you need more details related to the code?
Regards,
PZ
Hello
Are you selecting User from checkbox or can you explain how you are doing selection on a pop up.
Thanks
Hi @Paulo Zacarias , Hi @Tousif Khan
I have a table on the popup with user data. Next to each row I have a button that saves the selected user and returns their name to the screen. So I am able to select and display one user at a time, but I don't know how to create a list that returns more users from the block to the screen.
Hi shooouse,
In your input parameters of your event, use List User instead of User, and append the User record into the list each time a user selected should do the trick.
Hope this help.
As per your scenario, you need to send a list in the input parameter of the event to parent so that you can display the whole list on the parent screen instead of single name.
I am attaching the oml for your reference for the same. Hope this will help you.