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.

Looping in a Portal

Featured Replies

New solution in Dev7.

The script goes to a layout with the correct records in a portal then

loops through the rows setting fields and is supposed to exit after last

row, but does not.

Script portion as follows:

Go to Portal Row [select; First]

Loop

Go to Field [select/Perform; GAMES::weekNumber]

SetField [GAMES::someField; value]

...

Go to Portal Row [Next; Exit after last]

End Loop

... rest of script

It never exits when it gets to the last portal row number.

It makes new records. Running this in debug mode. I expect

I am doing something silly, but this seems pretty straight forward.

I don't believe this will work in a portal with a relationship set to allow creation of related records. Once you get to the last row, you're creating a new related record. It might work to add an Exit Loop If [Get(PortalRowNumber) = Count(relationship::serial)] just before the Go to Portal Row [Next] step, and remove the then redundant 'Exit after last' option.

Note that the Go to Field step is probably unnecessary if you're already in the portal row.

  • Author

Thanks Queue. That did the trick. As an aside, I find myself often taking a very long time to wrap my head around the new paradigm in relationships in v7. I appreciate the help.

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.