cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
codebrane
Resolver I
Resolver I

How to fit large number of options on screen

Are there best practices for displaying many options on a single screen? I have around 10 options which I've constructed like a gallery, so it's a list of options, each with a ">" to take you to that option's screen. I can't use a gallery as there doesn't seem to be a way to customise what each OnSelect does. The problem is there isn't enough room in the designer to fit all options in. I looked at a scrolling screen but the designer doesn't scroll so it's no possible to design using it for more than about 6 options. Are there better ways of designing a multiple option screen in the fixed height designer?

 

thanks,

 

Alistair

 

1 ACCEPTED SOLUTION

Accepted Solutions
BitLord69
Power Participant
Power Participant

Hi,

 

You can absolutely do different things in a OnSelect, if the data is structured so you can decide what to do. Using an If-statement, you can for example go to different screens depending on the values in the currently selected record.

 

For instance, let's pretend you hava a table like this:

 

Id Type Info

0 Text        Name of insect

1 Numeric Number of legs

2 Numeric Life expentancy

 

If the >-OnSelect you can write a formula similar to this:

 

 

If (ThisItem.Type = "Text"; Navigate(scrnTextEntry;ScreenTransition.None); ThisItem.Type = "Numeric"; Navigate(scrnNumreicEntry;ScreenTransition.None), Navigate(scrnOtherStuff;ScreenTransition.None))

I just made this up without testing it, so there might be typos in there.

 

Good luck!

View solution in original post

2 REPLIES 2
BitLord69
Power Participant
Power Participant

Hi,

 

You can absolutely do different things in a OnSelect, if the data is structured so you can decide what to do. Using an If-statement, you can for example go to different screens depending on the values in the currently selected record.

 

For instance, let's pretend you hava a table like this:

 

Id Type Info

0 Text        Name of insect

1 Numeric Number of legs

2 Numeric Life expentancy

 

If the >-OnSelect you can write a formula similar to this:

 

 

If (ThisItem.Type = "Text"; Navigate(scrnTextEntry;ScreenTransition.None); ThisItem.Type = "Numeric"; Navigate(scrnNumreicEntry;ScreenTransition.None), Navigate(scrnOtherStuff;ScreenTransition.None))

I just made this up without testing it, so there might be typos in there.

 

Good luck!

View solution in original post

thanks for that, will give it a go

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (28,520)