1 2 Previous Next 17 Replies Latest reply on May 10, 2016 8:12 AM by TSGal

    DDR: "Hide object when" properties missing

      Summary

      DDR: "Hide object when" properties missing

      Product

      FileMaker Pro

      Version

      13v9 Advanced

      Operating system version

      Windows 8.1

      Description of the issue

      "Hide object when" properties are not in the database design report

      Steps to reproduce the problem

      Create a DDR from a DB where "Hide object when" is used

      Expected result

      To find information about objects on layouts in the DB have "Hide object when" properties

      Actual result

      NULL

      Exact text of any error message(s) that appear

      NULL

      Configuration information

      N/A

      Workaround

      NULL

        • 1. Re: DDR: "Hide object when" properties missing
          TSGal

          menno:

          Thank you for your post.

          I am unable to replicate the issue.  This is what I have done:

          1. I created a new database file, one table, two Text fields: "Name" and "Hide".

          2. On the layout, I selected "Hide", and set "Hide object when" to Name = "TSGal"

          3. In Browse, I added two records:
          Name=menno, Hide=menno
          Name=TSGal (once I tabbed out of Name, "Hide" disappeared as expected)

          4. I ran a Database Design Report with report format HTML.

          5. Under Layout Objects -> Regular Fields, the Field Properties for "Hide" show the Hide Condition: Name = "TSGal"

          Let me know what I'm doing differently than you so I can replicate the issue.

          TSGal
          FileMaker, Inc.

          • 2. Re: DDR: "Hide object when" properties missing

            The difference is that I have the issue with a button:

             

            • 3. Re: DDR: "Hide object when" properties missing

              On the first tab of the inspector you can see the tooltip:

              • 4. Re: DDR: "Hide object when" properties missing

                On tab 4 you can see there's a case-statement

                • 5. Re: DDR: "Hide object when" properties missing

                  And in the entry from the DDR you can see the info is missing:

                  • 6. Re: DDR: "Hide object when" properties missing

                    I have tried this with both windows 8.1 and MacOSX 10.10.3 and both has the same problem. The particular file was originally created with FM11, contains no data (is just an interface-file with some virtual-lists) and is about 30Mb in size and has:
                     

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                   
                    File Name
                                   
                                   
                    Tables
                                   
                                   
                    Relationships
                                   
                                   
                    Layouts
                                   
                                   
                    Value Lists
                                   
                                   
                    Scripts
                                   
                                   
                    Accounts
                                   
                                   
                    Privilege Sets
                                   
                                   
                    Extended Privileges
                                   
                                   
                    Custom Functions
                                   
                                   
                    Data Sources
                                   
                                   
                    Custom Menu Sets
                                   
                                   
                    Custom Menus
                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                    • 7. Re: DDR: "Hide object when" properties missing
                      TSGal

                      menno:

                      Thank you for the additional information, but I am still unable to replicate the issue.  I named the Button "Button", named the Tooltip "Tooltip", and kept the original Hide formula.  See the screen shot below.

                      Are you able to replicate this omission in a new file?

                      Any other information you can provide (besides originally created in FileMaker Pro 11) may be helpful in narrowing down the cause.

                      TSGal
                      FileMaker, Inc.

                      • 8. Re: DDR: "Hide object when" properties missing

                        TSGal: I replicated the issue in a new file: It turns out that a graphic object like from a pict or png pasted onto the layout has this issue:

                        Group Buttons

                                                                                                                                                                               
                        Button PropertiesCoordinatesScript/Script Step
                                       
                                              
                        • Type:                     
                                                     
                          •  
                          •                     
                                              Layout Name:                     
                                                     
                          • Untitled
                          •                     
                                              
                                                     
                          • Tooltip:
                          •                          
                          • "Some tooltip"
                          •                     
                                              
                                                     
                          • Additional Properties:
                          •                          
                          • Change to hand cursor over button
                          •                     
                                              
                        •                
                                       
                                       
                                              
                        • Top: 126 pt
                        •                     
                        • Left: 168 pt
                        •                     
                        • Bottom: 174 pt
                        •                     
                        • Right: 209 pt
                        •                
                                       
                                              
                        • Anchoring: Left, Top
                        •                
                                       
                        Perform Script [ “Do something” ]                

                        Scripts:

                                       
                                              
                        • Do something
                        •                
                                       

                         

                        However if a button is a "filemaker" button, the hide-condition will show up in a DDR:

                        Buttons

                                                                                                                                                                               
                        Button PropertiesCoordinatesScript/Script Step
                                       
                                              
                        • Type:                     
                                                     
                          • Text: Some button
                          •                     
                                              Layout Name:                     
                                                     
                          • Untitled
                          •                     
                                              
                                                     
                          • Tooltip:
                          •                          
                          • "Some other tooltip"
                          •                     
                                              
                                                     
                          • Hide Condition:
                          •                          
                          • 1
                          •                          
                          • Apply in Find mode
                          •                     
                                              
                        •                
                                       
                                       
                                              
                        • Top: 119 pt
                        •                     
                        • Left: 277 pt
                        •                     
                        • Bottom: 167 pt
                        •                     
                        • Right: 568 pt
                        •                
                                       
                                              
                        • Anchoring: Left, Top
                        •                
                                       
                        Perform Script [ “Do something” ]                

                        Scripts:

                                       
                                              
                        • Do something
                        •                     
                        •  
                        •                
                                       

                         

                        So this issue seems to happen only if an object is a non-filemaker object. Most of the buttons I use in my solutions are created outside filemaker and then pasted into a solution. So I hope this will be resolved.

                        • 9. Re: DDR: "Hide object when" properties missing
                          TSGal

                          menno:

                          At first, I couldn't reproduce it as I set an image as the fill in a button.  Then, I noticed your title had "Group Buttons", so I placed the image on the layout, and then attached a button to it.  I can now replicate the issue.

                          I have sent your details along with my findings to our Development and Testing departments for review.  When I receive any feedback, I will let you know.

                          In the mean time, create the button and set the image as a fill.  This will then report properly in the DDR.

                          TSGal
                          FileMaker, Inc.

                          • 10. Re: DDR: "Hide object when" properties missing

                            TSGal: I have tried your suggestion and it works, but there is an issue with it: 

                            Your method only works when first a hide-object condition is assigned to the object and then declared as a button. If that's done in the reverse order: first declare the object as a button and then assign a hide-condition, it won't work.

                            • 11. Re: DDR: "Hide object when" properties missing

                              I've applied this work-around to my original file and there it also works: First set the hide conditions and then assign an action to the a button and it will show up in the DDR

                              • 12. Re: DDR: "Hide object when" properties missing
                                TSGal

                                menno:

                                Using your steps, I cannot reproduce.  The only way I can reproduce is if I put an image on the layout and then assign it as a button.  This is what I did:

                                1. I created a button and had it execute the script step "Show Custom Dialog ["Hello"]"

                                2. I then set the file to Image, and inserted an image.

                                3. I assigned the button a Name and a Tooltip.

                                4. I then assigned the Hide object when formula Name = "TSGal"

                                5. I saved the layout and ran the DDR.

                                Even with assigning the hide condition last, the Hide object when information displays for the button in the DDR.

                                TSGal
                                FileMaker, Inc.

                                • 13. Re: DDR: "Hide object when" properties missing

                                  TSGal: You did not exactly reproduce my steps, my steps were:

                                  1) I first pasted a graphic from a png-file on a lay-out
                                  2) then assigned a name and a tooltip to that graphic
                                  3) then set the hide-condition of the graphic
                                  4) then assigned a button-action to it
                                  Result: The button shows up in the DDR with the hide-condition (so this would be the work-around)

                                  The way I usually would create a button would be:
                                  1) Paste a graphic from a png-file on a lay-out
                                  2) then assigned a name and a tooltip to that graphic
                                  3) then assign a button-action to the graphic
                                  4) then set the hide-condition to that button
                                  Result: This button shows up in the DDR without the hide-condition, although it function 100% identical to the previous one

                                  The latter method is unfortunately the way I have created >90% of my buttons .... in FM11 and FM12 the "Hide-Object"-function was not available, so the decision to hide several buttons this particular way was made recently for already existing buttons :-(

                                  • 14. Re: DDR: "Hide object when" properties missing
                                    TSGal

                                    menno:

                                    As mentioned in my last reply, I get the same issue when I add an object to the layout and then assign a button.

                                    Your workaround of assigning the Hide condition before applying a grouped button to the object will display the Hide condition in the DDR, as the Hide condition is applied to the object; not the button.

                                    As mentioned earlier, the other workaround is to create the button and apply the image as a fill to the button.

                                    Testing has confirmed that applying a Hide condition to a grouped button will not display in the DDR.  This information has been sent to Development for review.

                                    TSGal
                                    FileMaker, Inc.

                                    1 2 Previous Next