Tags:
information_design1Add my vote for this tag create new tag
, view all tags

GUID Plugin

Generate GUID unique IDs

Syntax Rules

You Type You Get Comment
%GUID_ID% %GUID_ID% default is string type
%GUID_ID{type="str"}% %GUID_ID{type="str"}% string representation
%GUID_ID{type="bin"}% %GUID_ID{type="bin"}% binary representation
%GUID_ID{type="hex"}% %UNIQUE_ID{type="hex"}% hex
%GUID_ID{type="b64"}% %UNIQUE_ID{type="b64"}% base64

GuidPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %GUIDPLUGIN_SHORTDESCRIPTION%

  • One line description, shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Generate GUID unique IDs

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the package from the plugin home on twiki.org (see below)
  • Put them as follows
    File: Description:
    data/TWiki/GuidPlugin.txt Plugin topic
    lib/TWiki/Plugins/GuidPlugin.pm Plugin Perl module
  • Test if the plugin is correctly installed:
    • %GUID_ID%: %GUID_ID%
    • %GUID_ID{type="str"}%: %GUID_ID{type="str"}%
    • %GUID_ID{type="bin"}%: %GUID_ID{type="bin"}%
    • %GUID_ID{type="hex"}%: %UNIQUE_ID{type="hex"}%
    • %GUID_ID{type="b64"}%: %UNIQUE_ID{type="b64"}%

Plugin Info

Plugin Author: TWiki:Main.BruceDillahunty
Plugin Version: 2020-10-31 (V1.1)
Change History:  
2010-10-31: TWikibug:Item6530: Doc fixes
25 Feb 2004: Initial version
CPAN Dependencies: CPAN:Data::UUID
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/GuidPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/GuidPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 GuidPlugin.md5 r3 r2 r1 manage 0.1 K 2010-11-01 - 01:51 PeterThoeny  
Compressed Zip archivetgz GuidPlugin.tgz r3 r2 r1 manage 3.9 K 2010-11-01 - 01:51 PeterThoeny  
Compressed Zip archivezip GuidPlugin.zip r6 r5 r4 r3 r2 manage 5.2 K 2010-11-01 - 01:51 PeterThoeny  
Unknown file formatEXT GuidPlugin_installer r2 r1 manage 3.3 K 2010-11-01 - 01:51 PeterThoeny  
Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2013-10-16 - 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-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.