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 = "50000"
            * ATTACHFILESIZELIMIT was *finalised* in Main.SitePreferences
      
  • %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
      

This topic: System > WebHome > Macros > VarSHOWPREFERENCE
Topic revision: 15 Apr 2016, UnknownUser
 
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 Foswiki? Send feedback