AnsweredAssumed Answered

Open iPhone Layout by Default

Question asked by rmittelman on Sep 18, 2013
Latest reply on Oct 5, 2013 by disabled_jackrodgers

I have an application which has 2 layouts: one for FileMaker Pro and one for my iPhone. I simply want to open the iPhone layout if running the database in FileMaker Go on my iPhone.


I've done a bunch of searching, and tried several things, but nothing seems to work.

My understanding is that SystemPlatform should return 3 for IOS, and Application Version (when gotten as text) should return "GO_iPad....." or "GO...".


To test, I created a calculated global field in my main table, using this calculation formula:

Get ( SystemPlatform ) & " " & GetAsText ( Get ( ApplicationVersion ) )


I display this global field on my main form, and get this in FileMaker Pro: "1 ProAdvanced 12.0v4"


When I transfer the database to my iPhone and open it in GO, I get the same thing on the main form: "1 ProAdvanced 12.0v4"

It seems like I should get "3 GO....."


Can anybody tell me how to make this work, so I can put it in a script and default to the proper form?