cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vangala
Level: Powered On

Re: Issues with Powerapps

Thanks Powerdriver.

 

Wil try with group creating in office 365.

And for the Question 3 , launch in the same tab or same page , is this possible in powerapps ?

 

ZePowerDiver
Level 8

Re: Issues with Powerapps

I presume you use the "Launch()" function.

From what I know, there's no control about the target tab/window and it always opens in a new one.

 

Super User
Super User

Re: Issues with Powerapps

You can't currently get SharePoint groups natively from PowerApps, only Office365 groups.

 

Idea to vote on it being implemented is here: https://powerusers.microsoft.com/t5/PowerApps-Ideas/get-sharepoint-groups-from-sharepoint-site-in-po...

 

@gsivasai wrote a great post about using Role-based security from Sharepoint groups by getting them from Flow here: https://svaghub.wordpress.com/2018/11/03/role-based-security-in-powerapps-using-spgroups/

 

Cheers,

ManCat




Don't forget to 'Mark as Solution' and 'Thumbs Up' those who deserve it!
Vangala
Level: Powered On

Re: Issues with Powerapps

Hi Powerdiver,

 

Requirement:

I have a dropdown which has 5 values, need to display certain 3 values based on the user belonging to Offfice 365 groups

I wanted to display the certain Dropdown values based on Office 365 Groups, im using this function and im returning the display name of ther users in the group.

Office365Groups.ListGroupMembers("given groupid").value

 

How should i connect this function to the Dropdwon and dsiplayn those values?

 

Appreciate your help!

 

Thanks

 

ZePowerDiver
Level 8

Re: Issues with Powerapps

@Vangalaso if I get this right:

 

* you have a dropdown that has in its source a column that you want to use as a filter (let's name it "GroupID")

* you want to make sure that the current user is part of that 'such' group

 

My first question to you: are those two statement right?

If so, is that for a specific group or multiple groups ?

 

Maybe if you could provide a view of what your collection (source for the dropdown) looks like and then say what/how you expect to filter it. Then, when I'm sure I understand your objective, I'll make my best to help you out :-)

 

 

 

ZePowerDiver
Level 8

Re: Issues with Powerapps

@Vangala 

Based on what you told me via message, in a very 'hardcoded' way for simplicity sake:

 

1. In your dropdown source, add a restrictionColumn where you indicate Y or N

2. In the OnLoad of the app, Set a variable (RestrictedUser) to True if the user is not to have access to the whole set (based on Office365Group membership)

3. In the Items property of that dropdown, use a Conditional Filter formula, such as If(RestrictedUser,Filter('mysource',restrictrionColumn="Y"),'mysource')

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 142 members 3,736 guests
Please welcome our newest community members: