Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Hide/Show Buttons Using Portals


This topic is 7324 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am attempting to hide and show buttons on a list view layout using a portal. The portal relationship it a self-join, eg. Display Button = ???:Display Button. The Display Button Field is a calculation that evaluates to "Yes" when all the criteria has been met, and "" if not. The portal hides and shows the button but not for the record that has just been updated by another user on the server (5.5). The button will only appear if you change layouts and return to the list view. Is there any way to have the portal appear without making the user run a script? The relationship is true, but the portal just doesn't appear.... am I going to have to use container fields to hide/show the buttons instead??

Posted

This relates back to how FMP has quarky refreshes, there are tons of posts on this.

One solution that should work is to have your button a text one (visually it can look like a web page hyper link) and have the text contents a calculation field that makes the text = "" or even better from a users perspective makes it gray. The underlying script can check if the button's process should be ran.

this will show the change when a coworker makes a change to the record on another machine.

Charles

Posted

You could also try to put some type of OK button with "commit record" script

step attached to it...that would force a "reefresh" and make your

visibility portal work better.

Dan

This topic is 7324 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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