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.

Adjust Container Value - By Selected Portal Row

Featured Replies

Good Morning,

 

I have a portal setup with a number of rows.  I would like to adjust the value contained in a container based on what row is selected.

 

The container is pointing to external data with variables that should be set by the selected row.  When I change rows the container does not update.  Should it, or do I need to create a script/trigger?  I don't know how I would proceed with the trigger, so any help would be appreciated.

 

Thanks!

 

Ryan

  • Author

Was this a stupid question?  I'm really struggling to understand what piece of functionality I am missing on this.  When I select a portal row, it is not changing the value stored in the container.  The container is not in the portal itself, it is a calculated path using variables within the portal.  Do I need to trigger the refresh, or is there an easier way to link the portal to the container?

Was this a stupid question?

 

No, it was - and still is - an unclear one. These descriptions:

 

The container is pointing to external data with variables that should be set by the selected row.

 

... it is a calculated path using variables within the portal.

 

are pretty much meaningless. Is it a calculation field? If yes, what is the formula? If not, why not? And (hint) what would cause the calculation to re-evaluate?

  • Author

Thank you for the response.  Let me try and make this more clear with a simple test case.

 

I have a button, that I want to hide.  I will hide this button when:

 

OrderDetails::ArtCreated = "Yes"

 

Each line of the portal contains this field, but once I've set one of these to "Yes", the button disappears.  

 

Your hint is what I am unsure of.  I assume that once I've clicked on the portal row I need to refresh the page somehow, but this is what I do not know how to do.

 

Thanks again.

I am afraid this is not getting any clearer, on the contrary. 

 

I have a button, that I want to hide.

 

Where is this button? Is it inside or outside the portal?

 

 

I will hide this button when:

 

OrderDetails::ArtCreated = "Yes"

 

If I assume that the button is outside the portal, then the above condition is unsatisfactory: there are bound to be more than one OrderDetails, and this condition (when evaluated outside of the portal) only applies to the first one of these.

 

In any case, this condition is about the contents of a field - unlike your previous one, which is about active portal row. Big difference there, because an expression can reference a field - thus Filemaker knows (in most cases) that it needs to be re-evaluated when the field is modified.

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.