release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > System > Macros > VarSHOWPREFERENCE

SHOWPREFERENCE -- show where preferences are defined.

Preference values are shown in a bulleted list.
  • %SHOWPREFERENCE%
    • Show all preferences
  • %SHOWPREFERENCE{"PREFERENCENAME"}%
    • Show a single preference
    • Example:
      %SHOWPREFERENCE{"ATTACHFILESIZELIMIT"}%
    • Expands as:
         * Set ATTACHFILESIZELIMIT = "10000"
            * ATTACHFILESIZELIMIT was *finalised* in System.DefaultPreferences
      
  • %SHOWPREFERENCE{"PREFERENCENAME,PREFERENCENAME,..."}%
    • Show all of the preferences in a comma-separated list of preference names. This is particularly useful for reviewing the access controls that apply to a topic.
    • Example:
      %SHOWPREFERENCE{"DENYWEBCHANGE,ALLOWWEBCHANGE"}%
    • Expands as:
         * Set DENYWEBCHANGE = ""
         * Set ALLOWWEBCHANGE = "%USERSWEB%.AdminGroup"
            * ALLOWWEBCHANGE was defined in System.WebPreferences
      
r1 - 11 Apr 2012 - 01:23:38 - UnknownUser

Parents: WebHome > Macros
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback