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 = "100000"
            * ATTACHFILESIZELIMIT was *finalised* in Users.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
      
Print version |  PDF  | History: r0 | 
Topic revision: r1 - 02 May 2011 - 10:07:01 - WikiGuest
 

TUTWiki

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 TUTWiki? Send feedback