Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  


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

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

Preferences.ClearRecentFiles - Preferences.GetTextSelectionWithDragAndDrop

Feedback: Report problem or ask question.

MBS FileMaker blog

Start Chat