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.

Eliminating the blank portal row

Featured Replies

Hi, I know i have seen this in the past but cant find it again. (urggg) A kick to the forum post on this would be appreciated...

I have a portal displaying data with a DELETE button for each row. The problem is that the row directly after the last row of data shows the DELETE button, even tho it has no data in the portal row. Only the one extra row has this, the rest are blank as they should be.

(see attached picture)

I would be great full for a point in the right direction to find the solution to this...it just looks bad right now.

Thanks,

portal.jpg

Edited by Guest
Added Picture

Unfortunately, with Allow Creation of Related Records on in the relationship, you will always have this "ghost" record.

The only solution is to turn that off, and provide a New button that scripts the new child creation.

This is happening because you are allowing the creation of a record via the relationship. If you can not turn this off you will have to us a calculation to hide the icon you're using to show the delete button.

I use something that looks like this;

Case(

IsValid(Table::Some_Key); "Result1"; "Result2"

)

to use icons you'll want to setup a repetition field that holds the icons and replace the "Result1" and "Result2" with

GetRepetition ( repeatingField ; number )

Hope that helps.

  • Author

Thanks for the help. I will look into how to implement the suggestion you provided. (I will have to figure out how, but you've given me a great starting place)

Thanks very much!!

  • Author

Bcooney...

Not sure that the demo you provided is to do with the solution grumbachr recommended. I am now trying to figure out how to create a repeating field to hold the delete icon and ware the script grumbachr mentioned goes... Perhaps im missing something in your demo?

The further clarify... i only use the portal to display items, i do not create items via the portal...So, i dont need to create new records from here, just occasionally delete old ones.

Also... i am going to look further to see if i can remove the allowing of creating records via the relationship.... not sure, have to check, but that would sure be the easiest way to solve this!!

thanks for your continued input!

If you are not creating portals by typing directly in the portal, then just turn off Allow create in the relationship graph (double-click the box that is in the middle of the connecting lines). The "ghost" record will disappear.

  • Author

thanks very much for your help. I have changed the relationship and it looks much better. I have tested other parts of the application and it all works, so seems all good.

thanks again for your time!

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.