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

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

Recommended Posts

Posted

I'm not sure if this is possible, but wanted to put it out there and see if anyone has any advice.

 

I have a portal, on layout A, which displays a list of note records for a company. Using a global relationship, a user is able to click a portal row and see the selected items details. The use case is: User scrolls portal row, clicks row, portal row is highlighted, and details are displayed to the right of the portal.

 

A second use case exists whereby a user, from layout B, can run a script that navigates them to layout A and automatically dispays the desired note details. The issue, however, is that if the selected note is not within the viewable rows, the highlighted row isn't viewable. Can it be? Meaning, is there a way to have the portal scroll to the row being displayed? It seems like the Go To PortalRow script step would work, but the user isn't selecting the portal row in this case. I know I have some different options whereby I could script the rows being displayed, but am looking for an easier implementation if possible.

 

I can post an example if needed, but am hoping this is enough to go on. Any advice?

Posted

If you say "automatically display the desired note details", then you know which note to display; so you can set the global programmatically, and the user doesn't have to click a portal row.

 

Then you can loop through the portal rows until you've landed at the ID in question. Since you know that the portal displays n rows, you can check beforehand if a loop is required, i.e. if the row is not visible, by filtering its ID through a list of the first n related records (which only works if you haven't specified a different sort order for the portal).

 

Is this what you meant?

This topic is 4002 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.