[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Default Organization Management application

  • Thread starter Thread starter mpiscoso@gmail.com
  • Start date Start date
Status
Not open for further replies.
M

mpiscoso@gmail.com

Guest
You could do an Attach Record after create trigger on the Group field. if ("{!#CURR_USER.role#code}" == "
Code:
") { //Use code of desired Role var allAccess = rbv_api.selectValue("SELECT id FROM $GROUP WHERE name LIKE '%All Access%'"); //Get All Access Group ID return allAccess; } //--> Considering the name of your group is All Access The syntax for the tokens and integration names might be wrong but that should give you an idea. If attach record doesn't give you the option to select the group field you can use rbv_api.attach() instead within an object script. Hope that helps. Piscoso, Martin

[url="https://community.progress.com/community_groups/rollbase/f/25/p/55866/191793#191793"]Continue reading...[/url]
 
Status
Not open for further replies.
Back
Top