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.

Problem hiding status area

Featured Replies

Hi all,

This doesn't seem like the most difficult of problems - after all there is a simple script step to do it, but for some reason my script that looks like this at the beginning:

Enter Browse Mode []

If [Get ( PrivilegeSetName ) = "[Full Access]"

Show/Hide Status Area [show]

Else

Show/Hide Status Area [Lock; Hide]

End If

Refresh Window

simply does not do what I think it should. Everyone sees the status area, regardless of their privilege set. Can anyone think of a reason why this does not work?

I want to use IWP to publish the database, but this script does not do what it is supposed to do either on a server or run directly on a client.

Thanks in advance for any help,

Dave

Are you running this script with the checkbox in the lower corner checked (Run with Full Access)?

FM11 introduced Get ( AccountPrivilegeSetName) and that is what you should be using. It ignores the checkbox (which, when selected returns "Full Access" for the duration of the script) and allows you to check the login account's priv set.

  • Author

Hi bcooney,

Thanks for the help. This has sorted me out. In fact, I am running FM 10 for development purposes on my laptop, but the server I host on is running FM 11. I have got round it by splitting the startup script into two, as the rest of the script required the "Run with full access". So now it runs the bit of the script I pasted earlier without full access privileges and then calls a second script which does use full access privileges. I could have used the alternative Get (AccountPrivilegeSetName) parameter, but then any development I do using FM 10 would not recognise it.

Thanks for the help,

Dave

  • 4 weeks later...
  • Newbies

Hi David

Can u explain me a little bit what to do?

I did the same script, but bar is still able to be opened for normal users( non full access)...i dont know how to proceed. I really appreciate your help.

Gabriel

Sorry, I forgot to say it is not working in IWP...clients are working perfect and bar is locked for non full access users, but IWP little bar is still able to be opened for them...

Gabriel

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.