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.

Replacing layout/Change layout number

Featured Replies

I have designed a new layout in my DB and want to replace the old one with the new one.  The problem I'm having is that every time I try to rename the old layout, all the scripts that referenece the old layout, change to the (old layout) new name. And then when I rename the new layout to the old name, the scripts still reference the old layout with new name.

 

IE..

 

script01 ---> Welcome Layout

 

(rename old layout)  Welcome LayoutOLD

 

script01 --> Welcome LayoutOLD

 

(rename new layout) Welcome Layout

 

script01 --> Welcome LayoutOLD

 

 

So the script will never call the new layout.  Last time I designed was in FM3.  So please forgive me if it is obvious. 

Is there a way to change the layout number instead?

 

 

Solved by Spac3man

Go to solution

If I'm understanding you correctly, that is the way that FileMaker works. I would create a New script and use the new layout name it it. Than replace the old script in the Open Script with the new one. 

 

Also, FileMaker will remember the last layout  you had open.

 

HTH

 

Lee

  • Author
  • Solution

After a lot of Googling, that is the conclusion I came up with too.  I have too many scripts pointing to this layout so instead I grouped everything on the old layout, dragged it off-screen and copy/paste everything from the new layout into the old layout. 

Layouts (among other types of FileMaker elements) have an internal ID in addition to their name. When creating a reference to a layout (in, for example, a script), FM actually stores the ID and pulls the name for human reference.

  • 2 weeks later...
  • Author

so is there a way to renumber the internal ID?

No. Why would you bother? Just select the correct layout in the Go to Layout script step. 

 

If you have too many scripts going to that layout - then it would probably be a good time to route your scripts through a router script.

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.