LiveCode for FM Guide Ben Lui

Fine Tuning - Setting the Override Values

Updated on

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 in your Profiles screen, or on Deployment Profile, in the top right corner of your Deployment 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. Persistent ID override. Overrides the value returned by Get(PersistentId) at runtime.

7. User Name. Overrides the Get(UserName) function

8. Account Name. Overrides the Get(AccountName) function

9. Password. The account password is what is used along with the account name when logging in to the server solution to do any of the remote operations. So for example you could start with Account Name and Account Password overridden to be Guest / GuestPassword which would restrict what remote operations can be performed. If and when a Re-Login happens, the new account name and password are stored internally so that subsequent remote operations happen using those credentials.

10. Account Group Name. Overrides the Get(AccountGroupName) function

11. Account Privilege Set Name. Overrides the Get(AccountPrivilegeSetName) function 

12. Account Extended Privileges. Overrides the Get(AccountExtendedPrivileges) function

13. Type override. Overrides the value returned by Get(AccountType)

Previous Article Fine Tuning - Syncing settings
Next Article Fine Tuning - Android Platform Settings