Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Context sensitive portal

Featured Replies

  • Newbies

Hi, I hope someone can point me in the right direction on this one.

I have files A and B. File A contains a portal showing related records from file B. So far so good.

What I want to achieve, is to select a portal row so that I can see all the fields of that related record in a second (single row) portal on the same layout.

Hope this makes sense. Any help greatly appreciated.

Thanks

Boyd

One option:

Define a global text field in File A called, say, Current_Related_Record.

Define a relationship from Current_Related_Record in File A to your primary key in File B.

Create a script in File A with one step:

Set Field (Current_Related_Record, Portal_Relationship_Name::File_B_Primary_Key)

On your layout, you don't need to create a second portal. Just place fields on the layout that are based on the Current_Related_Record relationship.

Put a button in your existing portal that calls the Set Field script.

For this example, I used Portal_Relationship_Name and File_B_Primary_Key to refer to your existing relationship and File B's primary key.

Hope this helps!

  • Author
  • Newbies

Cool. That does me just fine. Thanks for your help.

Glad to hear it, and you're welcome. smile.gif

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.