Jump to content

best practices in navigation


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

Recommended Posts

What are some favorite places to read about best practices in navigation for a FileMaker file? In considering the task of rebuilding a file, I'm guessing we need to rebuild in a specific order (1, import tables; 2, re-draw relationships; 3- value lists; 4... import scripts or layouts -- that's where we get stuck).  It seems like the ideal situation would be to only have a few scripts that reference any layout. Almost no layouts would use steps "go to layout" or "go to related record" --- only a navigation script would. Do you agree? Before go down that path, I'd like to learn more about it.

 

Link to comment
Share on other sites

19 hours ago, hollyheadhunter said:

It seems like the ideal situation would be to only have a few scripts that reference any layout. Almost no layouts would use steps "go to layout" or "go to related record" --- only a navigation script would. Do you agree?

 

100% do NOT agree with this. All planes don't need to fly through Atlanta. Keep your scripts small and focused. Your 'Home' button doesn't need to know about your 'List' button. I've built systems that used monolithic navigation scripts and eventually it becomes a maintenance headache. If you need to organize your scripts, that's what folders are for. And script search in the script workspace is very fast now.

With FileMaker 14 we got a nifty new ability: you can assign a single script step to a button (that part's not new), but now if you later find you need more than that one step, you can turn it into a script without having to redefine the button. This is somewhat liberating. I would still make my main navigation buttons as scripts, since those are going to be on lots of layouts and I wouldn't want to go back and change them on all those layout. But for many other single-task buttons, I'm fine with just assigning them script steps directly.

  • Like 1
Link to comment
Share on other sites

This topic is 2299 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
 Share

×
×
  • Create New...

Important Information

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