June 24, 201114 yr Filemaker Pro 11 Advanced Filemaker Pro 10 Server Windows 7 Pro Any time I need to change the navigation buttons on my database, I end editing one layout header part and then copying and pasting it to every other similar header part. It gets tiresome. There has to be a way make changes in one place globally and display those buttons on every header part where it's appropriate. I imagine it would use a portal, but there may better ways. Is there any example solution out there that I could use as a template?
June 24, 201114 yr Author This. Again - Thanks! This partly solves my needs. However, some of my navigation uses scripts that automate some housekeeping before getting to the actual layout. I do not see a way to "show donations made in the last thirty days", for instance.
June 24, 201114 yr The article is just a jumping-off point. I use a similar setup mainly to make it easy to swap the icons in and out. Each button calls the main navigation script with a parameter, which could be a simple 1, 2, 3 (e.g. based on the repetition number) or could be something more descriptive ("show donations"). Set Variable( $param ; Get( ScriptParameter ) ) If( IsEmpty( $param )) do something Else If( $param = 1) do something else Else If( $param = "whatever" ) do whatever etc. The something/whatever could be a Go to Layout, or Perform script, or any series of steps. Another approach would be to simply have each button call its own script. Nothing wrong with that.
June 26, 201114 yr Author The article is just a jumping-off point. ... The something/whatever could be a Go to Layout, or Perform script, or any series of steps. Another approach would be to simply have each button call its own script. Nothing wrong with that. Thank you! Actually, I'd already set up the buttons to use navigation scripts. With either method, if you change the physical placement of buttons on one layout, you still end up having to redo all layouts. It would be nice if there were a global header/footer 'template' that could be made to show/hide depending on roles, permissions, layout, etc. I guess we're not there yet. Thank you for helping though.
Create an account or sign in to comment