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.

Personal Layout Default

Featured Replies

Is there a way to make FM default to a layout depending on who logs in? IE: A Personal Welcome Page or Home Page?

Oh -- I am using FM Sever.

Thank you,

Joseph

Edited by Guest

Yes, though I assume this is through the FMP client and not IWP.

Each user needs to have their own FMP account.

Create a script that uses the Get (accountname ) function to select the appropriate layout. Then using the File Options, set this script to run at file open.

If [ Get( accountname ) = "michaeld" ]

Go to Layout [ Layout 1 ]

Else If [ Get( accountname ) = "thomas" ]

Go to Layout [ Layout 2 ]

Else

Go to Layout [ Layout 3 ]

End If

  • Author

Do you need to check perform script box on everyones computer or just one?

Also if I need to set this on everyones computer Can I just use the switch to layout option (there home pages will never change)

Joseph

Dear All,

What about assigning Account Name to the respective Layout Names? Then you can go to the Layout directly (based on the Account Name).

But do take note of the time required to maintain the layouts.

If the only different is the Account Name, then may consider using Set Variable or Global Field which ever is your preference.

Best regards,

Omega Goh

The FileMaker Specialist

Speedy Scaleable Solutions

Assuming the file is shared on the network, you only need to do this ONCE and it will apply to all users.

It would be best to keep the number of layouts to a minimum, not one per user as that will get troublesome to maintain.

Supposing you have salespeople and technical people, and want the two groups to see a different page but each one should see their own name. You could create two layouts (named after the privilege sets, so suppose one is called 'sales' and the other called 'tech').

Then your startup script should say, simply:

go to layout [by name, get(privilegesetname)]






You could then display the logged-in user's account name on the page, by defining a calculation field called account_name as:


get(accountname)

and adding a line of text to the layout that reads "Welcome, >!"

Hope this helps.

James

  • Author

Can you explain more about what you mean... All I have is 6 home pages. So it should be pretty easy.

Thank you in advanced

Joseph

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.