Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Naviguation in a portal


This topic is 7311 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello there,

I have a portal with 6 rows and I would like to have two buttons (previous/next)to jump six rows by six... like an internet page. I really appreciate if somebody could help. I'll be happy to receive all your suggestions. Sorry for my bad English. Thanks.

French version: J'ai un portail avec six lignes et j'aimerai ajouter deux boutons (pr

Posted

You can attach a script to a Prev. button and a Next button. The scripts would contain Go to Portal Row by calculation, which would include a Get (PortalRowNumber) function. Something like

Go to Portal Row | Get (PortalRowNumber) + 6

Go to Portal Row | Get (PortalRowNumber) - 6

Posted

Thanks for your tip... the script jumps from 6 to 6 and it's perfect. But in my case, if I have for exemple 12 rows, when I perform the script, it doesn't work because the message in the dialog box says it's impossible to go to the 12th you display 6 rows! Could you explain to me a little bit more? Thanks

Posted

Try using

Go to Portal Row [ Min( Get(PortalRowNumber) + 6; Sum(portalrelationship::serial) ) ]

and

Go to Portal Row [ Max( Get(PortalRowNumber) - 6; 1 ) ]

Posted

Thanks. Good solution.... but I'm so sorry, it doesn't work 'til the last page. In fact, it works perfectly if the number of rows is a multiple of 6. For example, with 7 rows, you can't go to the seventh. Many thanks one more time for your help.

This topic is 7311 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.