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
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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!

thanks for that, will give it a go

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,578)