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.

Operations with the portal rows

Featured Replies

  • Newbies

Hello!

Is there a possibility to show/hide portal rows?

I have a table in my database for offers, which operate with data from another table through the portal. And I have the invoices file, where the same portal is placed. No problems so far.

But, in invoices file I must hide some lines in portal. The deletion is not allowed, because the offer should stay untouched.

Is there a way to do this?

By the "same portal" you mean the same relationship and fields.* You could add another criteria line to the relationship; something like: and "this" does not match "that", or it could be: and "this" matches "this". Either way could cause records to drop out of the portal. But at this point, we don't know which.

You just have to decide what the criteria that makes a difference is, and think about what fields would match. It may be necessary to create a "constant flag" field, which is a calculation, = 1 (that's it, result number), to match a newly created calculation field field (which produced a 1 only if specified conditions were met; it would be best if these were both Stored fields).

* If you duplicate and reassign a new relationship to the portal, you will need to retarget the fields. But all you have to do is rechoose the new relationship, the base field will still be selected; it goes pretty quick.

But, in invoices file I must hide some lines in portal. The deletion is not allowed, because the offer should stay untouched.

Is there a way to do this?

But you need to explain why you haven't taken the deletions out of the users privileges, and then make it scripted to remove the last one entered provided the user id is the same as creator id?

--sd

  • Author
  • Newbies

Thanks for your reply!

I should apologize, I forgot to mention one important thing in my post. The deletion of portal rows in my invoice table should be a user choice. When a invoice is created, portal shows all the records from offer. After this with the help of check boxes user decides which row to hide. It would be easy, to delete the row but I need just hide.

This might be easier with Filemaker 11 filtered portals.

After this with the help of check boxes user decides which row to hide. It would be easy, to delete the row but I need just hide.

There is a userinterface issue here, not quite abiding to...

http://developer.apple.com/Mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/XHIGIntro.html

--sd

  • Author
  • Newbies

Thank you very much Fenton!

This is exactly, what I need!

Good. Small addition. It is nice to run a script to reset checkboxes like this, so it has immediate visual effect, rather than having to click out of the portal to see what happened.

You would probably not put the Hide checkbox in the 2nd portal, unless the person looking at the filtered portal has business rules permission to hide things from themselves.

Hide_Portal_Rows2.fp7.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.