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 = "25000000"
            * ATTACHFILESIZELIMIT was defined 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 SystemFoswiki.WebPreferences
      
Topic revision: r1 - 07 Feb 2019, 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