3 Replies Latest reply on Jun 6, 2013 10:42 AM by philmodjunk

    IWP Menus and Layouts

    SteveKeiser

      Title

      IWP Menus and Layouts

      Post

           I am using the opening script in the screenshot. I want to be able to send users coming into the database via IWP to a separate set of menus and layouts. In the Get (ApplicationVersion) result I have tried "IWP", "FileMaker Web Publishing", and "Instant Web Publishing" with none of them working. What does the Get (ApplicationVersion) function return for a user on a browser? Or is there something else wrong with the script?

            

      FileMaker_Pro_Advancedsnapz001.jpg

        • 1. Re: IWP Menus and Layouts
          philmodjunk

               If you look up the get function in help, you'll find:

                                                                                                               
                                   
           •
                              
                                   
          Pro version for FileMaker Pro
                              
                                                                                                               
                                   
           •
                              
                                   
          ProAdvanced version for FileMaker Pro Advanced
                              
                                                                                                               
                                   
           •
                              
                                   
          Runtime version for FileMaker Runtime
                              
                                                                                                               
                                   
           •
                              
                                   
          FileMaker Web Publishing version for FileMaker Web Client
                              
                                                                                                               
                                   
           •
                              
                                   
          Web Publishing Engine version for FileMaker Server Web Client
                              
                                                                                                               
                                   
           •
                              
                                   
          xDBC version for xDBC Client
                              
                                                                                                               
                                   
           •
                              
                                   
          Server version for FileMaker Server
                              
                                                                                                               
                                   
           •
                              
                                   
          Go version for FileMaker Go on the iPhone or iPod touch
                              
                                                                                                               
                                   
           •
                              
                                   
          Go_iPad version for FileMaker Go on the iPad
                              

               And the typical pattern count test people use with this function to detect an IWP client is:

               Patterncount ( Get ( ApplicationVersion ) ; "web" )

          • 2. Re: IWP Menus and Layouts
            SteveKeiser

                 I tried "web" and "Web Publishing Engine". Neither work. Any other ideas? 

            • 3. Re: IWP Menus and Layouts
              philmodjunk

                   See my response to your new post where you revealed a new detail about the design of your database. And please note that "Didin't work" doesn't tell me much. HOW something fails often suggests key details that then lead us to something that does work.