Tags:
create new tag
view all tags

SID-01081: Documentation of %META:PREFERENCE

Status: Answered Answered TWiki version: 5.0.1 Perl version: Perl v5.12.2
Category: CategoryDocumentation Server OS: Fedora Core 14 Last update: 14 years ago

In the 5.x version of Twiki, in the UserForm there is a META tag that I can find no documentation on. How is it used?

Example:

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="UserView"}%

-- GregoryPotts - 2011-01-21

Discussion and Answer

You are right, %META:PREFERENCE is not documented in TWikiMetaData, it should be. I filed TWikibug:Item6642 to track that. TWiki is open source, feel free to contribute doc improvements.

META:PREFERENCE basically stores the topic preferences settings you can enter via the "more topic actions" screen.

For example, these settings:

  • Set FOOD = Sushi
  • Local DRINK = Sake
can be defined in the topic, or as topic preferences settings. If defined as topic preferences settings, the topic will have this meta data:

%META:PREFERENCE{name="FOOD" title="FOOD" type="Set" value="Sushi"}%
%META:PREFERENCE{name="DRINK" title="DRINK" type="Local" value="Sake"}%

-- PeterThoeny - 2011-01-21

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Documentation of %META:PREFERENCE
SupportCategory CategoryDocumentation
TWiki version 5.0.1
Server OS Fedora Core 14
Web server Apache 2.x
Perl version Perl v5.12.2
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-01-21 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.