removepreferencevalues
removepreferencevalues
PREFERENCE

The removepreferencevalues statement deletes one or more preference values.

Parameters

This statement has one parameter:

preference – is the name of the preference to be deleted. The preference name must be spelled exactly, including upper/lower case. You may repeat this parameter to delete multiple preferences.

Description

This statement deletes one or more preference values. This example deletes two preference values.

    removepreferencevalues "HSUserZipCode","HSUserAreaCode"

Be very careful with this command. You should never delete preference values you didn’t create yourself. Normally this statement would never be used, but it does allow you to delete an extraneous preference you created during development and then decide you don’t need, or if you created a preference value by mistake.

See Also

- Automatic Startup Database -- automatically open one or more databases when Panorama is launched.
- Confirmation Alerts -- Configuring alerts to confirm sensitive operations (deletions, etc.).
- getapplicationinfo( -- retrieves the value of an item in the application's plist, or a list of all plist items.
- getpreferenceclass( -- retrieves the class name of a preference value.
- getpreferencevalue( -- retrieves the value of a preference.
- info("preferencedomains") -- returns a carriage return delimited list of available preferences domains.
- preferences( -- retreives a list of preferences that have been stored.
- Scripting Language Configuration -- configuring the scripting languages available to Panorama (Perl, PHP, Python and Ruby).
- setpreferencevalues -- creates and/or modifies a preference value.
- writepreference -- modifies a preference value.

History

Version | Status | Notes
10.0 | New | New in this version.