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.

Show Portal Based on GetAccount Function

Featured Replies

I have a tab set used for admin functions. I would like it only to appear on the layout when the admin account logged in. I thought I could use JMO's visibility trick (which I have used a lot) with a calc using Get(AccountName).

The calc is:

ViewAdmin [if ( Show_Admin="Fred Jackson";Invoice ID )]

Show Admin is a calc field unstored = Get(AccountName)

The Relationship is

Invoices(ViewAdmin)= Visible Admin(InvoicesID)

The results should be that the a portal based on the Visable Admin TO appears only when the admin usere is the logon account and covers the tabs when anyone else logs in. The DB is hosted on FMS 8

I hope I have given enough info

Thanks in advance

Screen.jpg

Edited by Guest

If I understand well, you want the portal itself to become invisible, which is not possible using "JMO's visibility trick", because this trick relies on a portal, and a portal cannot be nested in another portal :

Maybe you could sort it out with tab panels, or dedicated layout.

  • Author

Actualy I have the portal containing a tab panel. What I want is the tab panel to become visible.

Admin logs on Tab panel visible

Anyone else logs on... Tab Panel gone

You cannot have a tab control INSIDE a portal. You can place it "inside" a portal, but it won't be really in the portal, because a tab control is an integral part of the layout part. It would be the same as trying to put the entire body part in a portal.

What you can do is hide the tabs, and use buttons to switch between panels. Then one of the buttons can be made 'invisible' by placing it in a portal.

  • Author

Thanks Comment

That makes complete sense to me

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.