Hi all, How to fetch organization data like group,role and user. I need to show group and role in text-box, Where as Need to show user in drop-down.How to achieve this anyone help me out
asked
Shaik Noormohammad
2 answers
0
Hello ,
To create a dropdown/radio button , create a LOV ( enumeraition) and refer that it in entity model.
Thanks
answered
Anirudh Gupta
0
You can have an NPE like UserHelper which must be associated with the User object
This NPE can also have Group as String and Role as String
Use a dataview and pass UserHelper
Have a ReferenceSelector for User and this reference selector can be filled with User list that you want with the required datasource
When you select the user, trigger an On-Change event which will retrieve the Group and Role information for the user, fill the attributes in Userhelper with relevant Group and Role info. And refresh the UserHelper object
This will help you. But there could other better suggestions which is purely dependent on your domain model