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.

getLayoutObjectAttribute

Featured Replies

Hi all,

I have been trying to use the getLayoutObjectAttribute

to setup script triggers on a tab. I am obviously missing something because it's not working.

I have 3 tabs, with object names as:

event_00, event_01 and event_02

I have setup Script triggering onObjectEnter on each tab. Is this correct?

Also, my script that runs is as follows:

If (getLayoutObjectAttribute("event_00";isFrontTabPannel)

show message"it works"

else

show message "it doesn't work"

endif

Is this correct?

Thanks in advance,

Constance

  • Author

Hi all,

I have been trying to use the getLayoutObjectAttribute

to setup script triggers on a tab. I am obviously missing something because it's not working.

I have 3 tabs, with object names as:

event_00, event_01 and event_02

I have setup Script triggering onObjectEnter on each tab. Is this correct?

Also, my script that runs is as follows:

If (getLayoutObjectAttribute("event_00";isFrontTabPannel)

show message"it works"

else

show message "it doesn't work"

endif

Here's what I was missing:

If (getLayoutObjectAttribute("event_00";"isFrontTabPannel")=1

show message"it works"

else

show message "it doesn't work"

endif

I also checked the trigger to run on object modify and that seems to have done the trick for me.

hope this helps someone else down the road.

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.