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

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

Recommended Posts

Posted

When you get a listing of layout names on the left side of your screen and you have more than a columns worth it gives you up and down arrows to scroll through your names. Is there any way to get them in multiple columns to see all the names on your screen at once?

Posted

Not that I know of, but you can create a Layout layout. It is a developer's layout that shows all the layouts in your solution. You can use it to click and navigate to your other layouts.

The technique, which I learned at DevCon last year, from Doug Gardner I believe, requires a table, a layout, and a script.

If you're interested, I can post a file.

Posted

I'd love it if you don't mind. I have a great number of layouts.

Posted (edited)

The basic idea is:

1) Create a table with one field, a calc field = GetValue(LayoutNames(Get(FileName)); Get(RecordNumber).

2) Create a Cartesian self join.

3) Write a script that will grab the value from the related self join record and go to that layout.

4) Create a layout based on the new table with portals showing records from the related self join. Attach a button running the script to that field.

5) Create enough records in that table to match the number of layouts you have.

6) Enjoy.

PS Login is:

user: Admin

pass:

mysandbox.fp7.zip

Edited by Guest
Posted (edited)

Interesting idea. However, there is a flaw: layouts are allowed to have duplicate names. It would be better, IMHO, to use Get (PortalRow) as the parameter, and go to the layout by number, rather than by name.

BTW, the calculation could be unstored, so that adding a layout would be just a matter of adding a record.

Edited by Guest
Posted (edited)

I'm sure all issues with this technique are a result of me misremembering Doug's presentation.

The calc should definitely be unstored. I've changed this file to account for identical layout names.

You could also have the script open a new window when selecting a layout, which I think is a little neater on a Mac.

Thanks comment.

mysandbox.fp7.zip

Edited by Guest

This topic is 5722 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.