Hi!
I'm curently editing a SharePoint Online list Form.
My idea is to build 4 screens, one for each group of users that will be editing elements, those screens should be showed to the users depending to wich group they are members of.
My best shot at doing this was using Azure AD connector, wich I'm seeing has user and groups functions.
Ideally I would like a function that let's me put a user and a group and gives me a boolean response if the user is a member of said group.
This way I could put conditions in the OnEdit properties of the SharePoint Integration to Navigate the user to the Right Sreen.
So far no luck with this idea. I'm kind of stuck at what function use.
Was thinking of this, and then compare it if this ยฟList? contains the group I want to set as condition.
If (
"Equipo de Prueba" in AzureAD.GetMemberGroups(
UsuariosdeOffice365.MyProfile().Id ;
true
);
EditForm(SharePointForm1_3);;
Navigate(FormScreen1_3);
EditForm(NewForm);;
Navigate(ScreenNew)
)
I think the "in" is what is not working here but I don't know how to tell it to test if a specific group is contained in the group ยฟList/array? of a user
Solved! Go to Solution.
Well, this end up working, not COMPLETELY sure why tho. Feels redundant.
If ( "3a0e0fa1-285a-4b6d-91e3-3dd5cd38a5ee" in AzureAD.CheckMemberGroups( UsuariosdeOffice365.MyProfile().Id; Table({Value: "3a0e0fa1-285a-4b6d-91e3-3dd5cd38a5ee"}) ); EditForm(SharePointForm1_3);; Navigate(FormScreen1_3); EditForm(NewForm);; Navigate(ScreenNew) )
Well, this end up working, not COMPLETELY sure why tho. Feels redundant.
If ( "3a0e0fa1-285a-4b6d-91e3-3dd5cd38a5ee" in AzureAD.CheckMemberGroups( UsuariosdeOffice365.MyProfile().Id; Table({Value: "3a0e0fa1-285a-4b6d-91e3-3dd5cd38a5ee"}) ); EditForm(SharePointForm1_3);; Navigate(FormScreen1_3); EditForm(NewForm);; Navigate(ScreenNew) )
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
253 | |
235 | |
82 | |
36 | |
27 |
User | Count |
---|---|
313 | |
265 | |
120 | |
68 | |
44 |