cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EMohaisen
Helper I
Helper I

Sections in PowerApps forms

Hello,

 

We use to have in InfoPath "Sections" where we can add multiple fields, icons, etc.. into one section and hide it from specific groups\users. here in PowerApps i need to control the visibility for each data card.

 

i have attached a screenshot of InfoPath.

 

any ideas?

Thanks!

 

Reg

Eyad

1 ACCEPTED SOLUTION

Accepted Solutions

@EMohaisen 

Yes, that is correct about the DataCards...you will not be able to use this feature on them.

 

However, if it is just showing or not showing dataCards that you need, you can certainly use the Visible property of the data card to show or hide based on a role or a user or a group.

 

I've attached a VERY basic example app of this process.  In the App, there is a simple dropdown to select a role.  In your app you would want to lookup the role of the user somewhere - either another list, their user account, or other.

Then, if you look at the Visible properties of the datacards in the mock-up form, you will see the basic logic there to show or hide them based on that role.

 

See if that gives you some more fuel to go on...

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

3 REPLIES 3
RandyHayes
Super User
Super User

@EMohaisen 

You might want to take a look at the Enhanced Group Control.

It is experimental, but I believe it would provide what you need.

 

I hope that is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

@RandyHayes 

 

Thanks for the info, actually this works only if i add for example: (Labels, Buttons, Text input, etc..) but i would like to apply this grouping on (SharePoint list DataCards), it wont allow me to select muiltiple "DataCards" to apply the grouping optoin..

 

attached screenshot as an example

any ideas please ?

 

Thanks

@EMohaisen 

Yes, that is correct about the DataCards...you will not be able to use this feature on them.

 

However, if it is just showing or not showing dataCards that you need, you can certainly use the Visible property of the data card to show or hide based on a role or a user or a group.

 

I've attached a VERY basic example app of this process.  In the App, there is a simple dropdown to select a role.  In your app you would want to lookup the role of the user somewhere - either another list, their user account, or other.

Then, if you look at the Visible properties of the datacards in the mock-up form, you will see the basic logic there to show or hide them based on that role.

 

See if that gives you some more fuel to go on...

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,317)