Peter Lehrack Posted September 17, 2010 Posted September 17, 2010 I just stared using FM Go and so far, so good. I would like to limit the available layouts to only those optimized for FM Go of which I now have 5. It doesn't seem that making a privilege set will work as I want full access when logging in via my desktop version and only FM layouts when logging in via FM Go. Any thoughts? Peter
jjfcpa Posted September 17, 2010 Posted September 17, 2010 By checking to see what size the screen is, you can tell whether you are running on the desktop or on FMGO via ipad or iphone. Then you just have to call the right layout for the appropriate device. I have a custom function called GetPlatform that I copied from one that Dwayne Wright wrote that I use for this purpose. The entire contents of the custom function is: Case( Abs(Get(SystemPlatform)) = 2 ; "Windows" ; Abs(Get(SystemPlatform)) = 1 ; "Mac" ; Abs(Get(SystemPlatform)) = 3 and Get ( WindowContentWidth ) < 481 ; "FMGO - iPhone" ; Abs(Get(SystemPlatform)) = 3 ; "FMGO - iPad" )
Lee Smith Posted September 17, 2010 Posted September 17, 2010 Check the resource site that I posted a link to a min ago. Lee
Travis Butler Posted September 22, 2010 Posted September 22, 2010 You don't even need to use the screen width; get(ApplicationVersion) returns either "Go " or "Go_iPad ", depending on whether it's running on the iPhone or iPad. So you could use: Case( Abs(Get(SystemPlatform)) = 2 ; "Windows" ; Abs(Get(SystemPlatform)) = 1 ; "Mac" ; Left(Get(ApplicationVersion);3)="Go " ; "FMGO - iPhone" ; Left(Get(ApplicationVersion);7)="Go_iPad" ; "FMGO - iPad" )
Peter Lehrack Posted September 22, 2010 Author Posted September 22, 2010 The problem is that when in FM Go, you hit the layouts button and see every layout, not just the Go optimized ones. I do not want to add layout navigation to the layout since room is already quite limited. I am relying on using the layouts button for layout navigation, I only want it to list the FM Go layouts though. Peter
Vaughan Posted September 22, 2010 Posted September 22, 2010 Unfortunately there is no way (yet) to selectively list layouts. I usually hide all layouts in the the menu so it's empty, and build navigation. This is the opposite of what you are doing.
Peter Lehrack Posted September 22, 2010 Author Posted September 22, 2010 Thanks everyone. Looks like I'll just have to do a Separation Model solution which raises another issue. I think I'll have to manually establish all of my relationships of which there are hundreds. :-/ Peter
bruceR Posted September 22, 2010 Posted September 22, 2010 Why would you not want to log into Go with a different privilege set? This would take care of your issue automatically.
Peter Lehrack Posted September 23, 2010 Author Posted September 23, 2010 Bruce, I think I'm going to try that, thanks. Peter
Vaughan Posted September 24, 2010 Posted September 24, 2010 The problem with the separate privilege sets is that the user will have to remember to log-in with a different account on the mobile device, since one account can only be associated with one privilege set.
Peter Lehrack Posted September 27, 2010 Author Posted September 27, 2010 hmmm, back to the Separation Model. -/
Vaughan Posted September 28, 2010 Posted September 28, 2010 Will separation be any benefit? Scenario 1 Separation model: user has to remember which file to open depending on platform. Scenario 2 Multiple Acccounts: user has to remember which account to use depending on platform. No change: the user still has to change their behaviour depending on the platform. Why not hide all the layouts in the layouts menu and script the navigation. The scripts can display the mobile or desktop interface as required. One file to open, one account to log-in with.
Fitch Posted September 28, 2010 Posted September 28, 2010 It might be possible to get the effect you want with custom menus. Haven't had a chance to try it. I know that in FMGo it doesn't work quite the way custom menus work in FMPro but it is there.
Peter Lehrack Posted September 30, 2010 Author Posted September 30, 2010 Why not hide all the layouts in the layouts menu and script the navigation. The scripts can display the mobile or desktop interface as required. I wanted to keep all layout navigation off of the layout since space is at such a premium. Peter
Recommended Posts
This topic is 5168 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now