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

Jumping to a specific field in a different layout's portal


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

Recommended Posts

Posted

Hey

I'm having trouble figure this out....

Say I have a layout for table A with a portal to table B.

How can I write a script to navigate from record 3 in table B to the layout for table A and have it automatically got to a specific field in the portal row of record 3.

When ever I "Got to Layout A" then "Go to Field" of the portal, it just selects the first portal row, but I want it to select which ever portal row relates to the record I came from in table B.

Make sense?

Posted

At the start of your script pickup the selected portal row with the Get(PortalRowNumber) function. Later you can use the result with the Go to Portal Row script step. Roughly...

Set Variable $row = Get(PortalRowNumber)

Go to layout

Go to field

Go to Portal Row ($row)

Posted

I think you may have missread the OP. There is no mention of a portal from the starting layout. I believe he is wanting to go from a child record to the related parent and then to whichever row the child record is on in a portal on the parent layout.

Posted (edited)

Yeah, Ron you're right. That's exactly what I want, it's tricky because depending on how the portal is sorted I wont know what row the related record is in.

I'll play around to see if I can set a row variable to get it work. Thanks guys

Edited by Guest

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