Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Replacing layout/Change layout number


This topic is 4224 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

 

 

Posted

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

Posted

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. 

Posted

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...
Posted

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.

This topic is 4224 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.