s
menu menu
 
Login  |  Register search:   
Quick Links
Dyanmic Tokens can be toggled on/off for each Content Sharing (NMH-CSHTMLText) module.  This page shows Dynamic Tokens is switched off for the Content Sharing module displayed below

This module also demonstrate the Search & Replace ability by sharing content from here

Content Sharing Without Dynamic Tokens

What is a token?

A token is essentially a variable used for describing a property in the portal.  A token can be used to describe a current user name or current date and time thus proving the facility to dynamically display data.

A token consist of two components, a namespace and fieldname separated by a colon (:) all wrapped around by curly brackets or square brackets.  A valid token looks something similar to [NameSpace:FieldName] or {NameSpace:FieldName}

NOTE:  Dynamic Tokens is currently only being supported by the CS-HTMText module

Namespace
Fieldname
Description
Replaced value
USER UID Current User ID [USER:UID]
  UserName Current Username [USER:Username]
  FirstName User First name [USER:FirstName]
  LastName User Last name [USER:LastName]
  DisplayName or FullName User Full Name [USER:DisplayName]
  Email or EmailAddress User Email address [User:Email]
  LastActivityDate Last Activity Date [User:LastActivityDate]
  LastLoginDate Last Login Date [User:LastLoginDate]
  LastLockoutDate Last Lockedout Date [User:LastLockOutDate]
  LastPasswordChangeDate Last Password Change Date [User:LastPasswordChangeDate]
  CreateDate Account Created Date {User:CreatedDate}
  PortalRoles All roles belonging to the user [User:PortalRoles]
  Cell or Mobile Cell or Mobile phone number [User:Cell]
  City Name of City [User:City]
  Country Name of Country [User:Country]
  Fax or FaxNumber Fax number [User:FaxNumber]
  PostalCode or ZipCode Zip code [User:ZipCode]
  PreferredLocale Preferred Locale for the user [User:PreferredLocale]
  Region Region [User:Region]
  Street Street name component of address [User:Street]
  Telephone Telephone number [User:Telephone]
  Timezone Timezone [User:Timezone]
  Unit Unit component of address [User:Unit]
  Website Website address [User:Website]
  IM Instant messaging ID [User:IM]
  {any other profile property} It is possible to provide a custom profile prpoerty here.  If exists the value for the profile property will be replaced appropriately N/A
PORTAL Name Name of the portal [PORTAL:Name]
  ID ID of the portal [Portal:Id]
  Description Portal description [Portal:Description]
REQUEST UserAgent Browser UserAgent [Request:UserAgent]
  HostAddress User IP address [Request:HostAddress]
  Referrer Referrer URL Address [Request:Referrer]
OTHER CurrentDate Current Date component only [Other:CurrentDate]
  CurrentDateTime Current timestamp [Other:CurrentDateTime]
  CurrentTime Current time component only [Other:CurrentTime]

 

foot
Update :: March 14, 2010