Setting the Override Values
The Override screen allows you to select what device layout you want, and whether you have any features that require a specific version of FileMaker. You can also change some functions from your FileMaker solution here.
Click on Edit Deployment Profile, in the top right corner of your screen.
1. Go to the Overrides panel, in General Settings.
2. Device Override. This allows you to select the correct Get(Device) function for your app. There are 5 possible settings FileMaker uses:
0 for an unknown device - maps to "Unknown" in this dropdown menu
1 for a Mac - maps to Mac
2 for Windows - maps to Windows
3 for iPad - maps to iPad
4 for iPhone or iPod - maps to iPhone
5 for Android running on web direct - maps to No override
If you have no choices set in your solution, you can simply leave the default "no override" because this function will not be used. If you use the function in your solution you can choose the appropriate option here. Because the Events sample does use this function to switch between the appropriate layouts for the various platforms, I'm choosing iPhone. This will give me a mobile layout that displays well on my Android phone.
3. System Platform Override. Overrides the return value of Get(SystemPlatform). Choose the platform you want to run as.
4. Version Override. Again if you have not used the function Get(ApplicationVersion) you can leave this blank. If you have used it, then this allows you to enter the version of FileMaker your app is running as. In my case, I want it to work like a Go app, in FileMaker 17, so I have entered Go 17.0.0. You may enter any string for this override - the menu is prepopulated with various examples of application version strings (using 17.0.0 as the version number)
5. Windows Orientation. Set the orientation for your app. You can use this to override the default and force a particular orientation, in my case I am not using this so the app will change orientation according to how the user holds the phone.
6. User Name. Overrides the Get(UserName) function
7. Account Name. Overrides the Get(AccountName) function
8. Account Group Name. Overrides the Get(AccountGroupName) function
9. Account Privilege Set Name. Overrides the Get(AccountPrivilegeSetName) function
10. Account Extended Privileges. Overrides the Get(AccountExtendedPrivileges) function