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.

Maintaining Portal Row

Featured Replies

Hi All. I'm looking for any and all links to solutions for maintaining a portal row when switching layouts. I have a need to switch between two identical layouts seemlessly and have the portal on the layouts retain the visible rows, or at least somewhere close. Any help would be greatly appreciated.

Thanks

Ron

No can do, AFAIK. It's possible to remember the currently selected portal row and return to that, but its position in the portal may change.

Often a new temporary window is used for processing, to avoid disturbing the current layout.

  • Author

I had seen a post that mentioned a custom function with a link to it but the link was broken. I did manage to get it close using a solution I found that uses a calculation field to set a global variable to the last portal row. Then on the switch in order to get it to about the same position I have to go to the first row, then the last row, then the row I want selected. It's actually pretty seemless other than some screen flash.

Using a new window was not an option in this case because I want the user to not even know the layout is switching. To them it just appears that some extra fields become available or not available depending on the portal row selection.

I had seen a post that mentioned a custom function with a link to it but the link was broken.

If you mean the demo mentioned here:

http://fmforums.com/forum/topic/52937-portal-question-feedback-which-position-of-the-list-the-user-clicked/page__p__249092#entry249088

the file can be downloaded from:

http://www.bh-a.com/index.php?option=com_content&view=article&id=88&lang=en

You'll also find a simpler implementation further down in the thread.

However, though this provides the closest approximation I have seen, it's still not good enough IMHO. I agree with Vaughan that it's best to stay on the same layout (and record). If you need to enable/disable some layout objects, you can use a tab control object or a "visibility" portal.

  • Author

I'm exploring the tab control option now. I hadn't thought about a visibility portal. I may explore that option as well.

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.