3 Replies Latest reply on Mar 14, 2013 10:12 AM by philmodjunk

    Email Campaign Starter under the hood query



      Email Campaign Starter under the hood query


           In poking around FM11 version of ECS layouts I could not find any button setup info for some of the layout elements that clearly behaved like buttons (the Send Campaign element in particular).  Other elements were the red triangles that showed up in lists where you could select campaigns or groups or templates.  In layout mode nothing was listed in the button setup so I had to infer what script was used.  And also in layout mode I noticed that some of these elements were layered over blank rectangles that had a thick light gray border.

           I wanted to learn what this technique was and how to change these "buttons" to use my new/modfied code without altering the scripts in place or cluterring layouts with extra elements.





        • 1. Re: Email Campaign Starter under the hood query

               The red triangle on the Record List Campaign layout is indeed a button and I can double click the button while in layout mode to open button setup...

               If I make a copy of it and ungroup it twice, I find that it is made of two objects, the triangle graphic and a transparent rectanble. Such rectangle objects are tricky to select, you may need to drag a selection box around it unless you can click right on the invisible border of the object. The appearance of both objects are obscured by "tool tip" badges when you veiw them in layout mode.

               In some other layouts such an invisible rectangle object is what has been added to the layout and setup as a button. Such is the case on the Record Detail Contacts layout in the portal on the Related Contacts panel of the bottom tab control. On that layout, the triangle is just a graphic object, but it's located underneath the transparent rectangle that covers the entire portal row and which is set up as a button.

          • 2. Re: Email Campaign Starter under the hood query

                 Thanks PhilModJunk!

                 Part of my problem I now see was that things like rectangles must be selected by clicking on their borders rather than somewhere in the middle of the object!  Never played with rectangels or circles yet.

                 But one followup - the "invisible" rectangles in the ECS (and there arevplenty as I look closely) in Layout mode all have a somewhat thick, fuzzy gray border, which enables me to select them.  But even if I match the Inspector values in appearance when I create an invisble rectangle, I can't get that same effect, so my object completely dispappears.  What is the trick to that?

                 Again, many thanks!

            • 3. Re: Email Campaign Starter under the hood query

                   Buttons will be surrounded by a grey rectanble in FileMaker 11 and older if you enter layout mode and select View | Show | Buttons.

                   In FileMaker 12, a new tiny layout badge appears in the lower right corner of the button--which is much harder to work with for invisible buttons than the border you get in older versions. sad