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

"Hide Object When" Strange behaviour

Featured Replies

Hi there,

 

I'm getting what seems to be some strange behaviour when I try to use the following calculation in the "Hide object When" option:

 

Products::type ≠ "Spare Parts" or Products::type ≠ "Repairs"

 

 

The Goal is to show the object if type contains either "Spare Parts" OR "Repairs" and hide it for any other option.

 

If I use either of the two options on their own the hide object works, When I use them together it permanently hides the object.ie: it is hidden even when type DOES equal "Spare Parts" or "Repairs"

 

Am I missing something really obvious here?

Products::type ≠ "Spare Parts" or Products::type ≠ "Repairs"

Am I missing something really obvious here?

Every record is “not a OR not b” – "Spare Parts" ≠ "Repairs", and "Repairs" ≠ "Spare Parts" – but you want to hide your object on every record that is “not a AND not b”.

 

Use

Products::type ≠ "Spare Parts" AND Products::type ≠ "Repairs"

or reverse the logic as

NOT ( Products::type = "Spare Parts" OR Products::type = "Repairs" )
  • Author

That solved the issue.

 

I have to admit, I had to read your explanation a few times before I actually understood the logic, but it finally made sense.

 

Thanks eos.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.