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.

Featured Replies

The below is an extract that I've seen on another forum. It's something that seems quite interesting with regard to the last portal row (ghost row). So a calculation can be written that will either allow an object to appear on a layout or not dependant on criteria? Is this easy to do?

' I make the delete button for every portal row to be a calculation, so that, if IsEmpty ( Portal row ID ) don’t show the delete button, so the ghost row at the bottom of your portal, don’t have a visual delete button, and of course the script that delete portal row just work if the portal row ID is not empty. This method that I’ve learn make the portal looks like a spreadsheet for the user. No confuse and no user pressing that delete button of the last ghost portal row.'

Yes this have been around a long time. To best explain this, try creating a calculation ( with text result) in the child table with a simple, Case ( ID; "delete" ). Then place this new field on the portal row.

Now if you want to use an image you can reference something like a container field that stores the image and your calc can be modified to reference that container field ( with container result )

You should see how it differs from putting an image directly on the portal.

If you're willing to use a non-graphic button, e.g. a red "X" for the delete button, you can use conditional formatting to hide it on the empty row:

In the conditional formatting dialog, use the formula IsEmpty( portal::key field ). Click "more formatting" and then set the font to a very large size like 222. The result will be the button text is pushed out of the bounds of the text box, making it invisible.

  • Author

Thanks guys, I'll try and give it a go but it cannot be used in conjunction with the FM button tool can it?

Conditional formatting can be applied to the text and fill of a button but sadly not to its borders. And the fill can't be made transparent, so that's a fail if your portal uses alternating row colors.

So, for a graphic button you'd go with John's calculated container suggestion.

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.