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
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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,854)