Skip 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.

Go To Portal

Featured Replies

Hi,

is there any way to script FM to go to a particular Portal on a layout?

(The reasoning : I am initiating a script from a portal on a layout. It sets a 2nd portal to show certain records. I would like to finish the script by going to the 1st record in the 2nd Portal, but I can find no way of activating this 2nd Portal (a self) without actually physically 'clicking' on it.)

As an aside...

I've noticed that the 'Go To Portal' script step in FM6.x always goes to the same Portal on a layout... if there is more than one.... even if the script is activated by clicking in another... unrelated... Portal. Bug I guess. [color:"#666666"]

Use the Go To Field script step when you have more than one portal on the layout. This will go to the first record in the portal.

When there are several portals on the layout, FM goes to the one which is backmost in the stacking order. That means if your scripts always needs to go to the same particular portal you can place it at the back.

If you need to have scripts access different specific portals on a multi-portal layout, one way to achieve this is to create copies of the layuout, each with a different portal stacked backmost (using the 'go to back' command on the arrange menu in layout mode).

Then you can Freeze Window within the script and flip to the appropriate layout in order to access a portal which is not at the back on the current layout. With this method, the 'Go to Portal Row' command can be used.

In some circumstances, the 'Go To Field' step is an attractive alternative.

  • Author

Ray, S. Strother...

thanks!

A mix of 'Go to Field' and shifting the Portal to the back for a 'Go to Portal Row' solved the problem. It looks much slicker now. *:

Grant

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.