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

Portal Refresh Tabbed Interface

Featured Replies

I have 2 tabs. On each tab I have a table occurrence for the primary parent table and a table occurrence for the child table. When I delete a record from the child table portal and click the other tab - the record still shows in the portal UNTIL I click on the layout and then the screen will refresh and the record disappears. I'm using the Refresh button with the cached join option.

Any ideas?

I am not sure what your issue is. When you delete a portal row, the parent record is modified, but the modification is not finalized until you commit the record (for example by clicking on the layout's background). Until then, the changes can be reverted.

Another thing is that portal data is cached, and the cache will not be refreshed until the record is committed (sometimes not even then). So if you have a portal to another occurrence of the child table, it will continue to show the "deleted" child record, until the parent record is committed. The tab object is irrelevant here - you will see the same thing if you place the portals side-by-side.

Instead of using the native tabs to navigate between tab panels, name those tab panels as objects and set their tabs to 0 width.

Create text boxes with the tab names and make them buttons. Set the script to select the tab panel you want (Go To Object) and also Commit and Flush Results if necessary.

Wouldn't it be simpler to have a button in the portal that deletes the portal row AND commits the record?

Yes, yes it would.

  • Author

Thank you very much. I'm always thinking 4D and didn't remember to "commit" after the deletion. Thanks.

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.