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.

marking current record in portal

Featured Replies

There's probably an obvious and easy way to do this, but I can't find it:

I have a portal that displays a selection of records from the same file, via a self-join based on a unique number. This is in order to display groups of records that belong together.

What I want to do is to show a mark (red dot) in a portal row when the user is in the matching record.

I've got it to work, more or less, by means of a button in each portal row that triggers a series of scripts that go to the related record, update status information, and note the current portal row number.

A calculation field in the portal causes a red dot to be displayed when the current portal row number equals the current record number.

It works... in that the dot always shows up in the correct row. Unfortunately it also sometimes, erratically, shows up in another row too. I can't figure out why, nor by what system it chooses the other row. In other words: although the current record no. is, say, 5 - and the current portal row no. is also 5, sometimes the dot will appear not only in row 5 but also, say, in row 11.

There must be a better way! Also I would prefer the dot to appear without the intervention of a script, if possible. So that, as the user navigates from one record to the next, the dot moves down the portal rows.

Can anyone help?

what you want to do is create a script that every time you navigate to a record it sets a global field to the unique record number then. Then create a calculation that will test to see if the global equals the unique number. This should always show the flag on the record you are using provided the global is set prior upon navigating to the record.

  • Author

Ocean West: Thanks a million!

It works like a charm. And since I had already scripted navigation it was easy to add on that bit.

This forum is a life saver!

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.