Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Deletes a preference value.

Component Version macOS Windows Linux Server iOS SDK
Preferences 6.0 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ✅ Yes
MBS( "Preferences.DeleteValue"; Domain; Key )   More


Parameter Description Example
Domain The domain name for your preferences. Leave empty for default one. "de.mbsplugins.MyApp"
Key The key for the value lookup. "Username"


Returns OK or error.


Deletes a preference value.


Delete username value

MBS( "Preferences.DeleteValue"; "de.mbsplugins.MyApp"; "Username" )

Delete Initial file path:

MBS( "Preferences.DeleteValue"; "com.filemaker.client.pro12"; "Preferences:Initialfile")

See also

Example Databases

Blog Entries

This function checks for a license.

Created 4th January 2016, last changed 19th June 2020

Preferences.ClearRecentFiles - Preferences.GetTextSelectionWithDragAndDrop