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 on for the Content Sharing module displayed below
Dyanmic Tokens can be toggled on/off for each Content Sharing (NMH-CSHTMLText) module.  This page shows Dynamic Tokens is switched on for the Content Sharing module displayed below
Content Sharing With 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 -1
  UserName Current Username
  FirstName User First name
  LastName User Last name
  DisplayName or FullName User Full Name
  Email or EmailAddress User Email address
  LastActivityDate Last Activity Date
  LastLoginDate Last Login Date
  LastLockoutDate Last Lockedout Date
  LastPasswordChangeDate Last Password Change Date
  CreateDate Account Created Date
  PortalRoles All roles belonging to the user
  Cell or Mobile Cell or Mobile phone number
  City Name of City
  Country Name of Country
  Fax or FaxNumber Fax number
  PostalCode or ZipCode Zip code
  PreferredLocale Preferred Locale for the user
  Region Region
  Street Street name component of address
  Telephone Telephone number
  Timezone Timezone
  Unit Unit component of address
  Website Website address
  IM Instant messaging ID
  {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 Content Sharing
  ID ID of the portal 4
  Description Portal description Content Sharing modules for DotNetNuke
REQUEST UserAgent Browser UserAgent CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
  HostAddress User IP address 38.107.191.98
  Referrer Referrer URL Address
OTHER CurrentDate Current Date component only 3/11/2010 6:42:26 PM
  CurrentDateTime Current timestamp 3/11/2010 6:42:26 PM
  CurrentTime Current time component only 3/11/2010 6:42:26 PM

 

foot
Update :: March 11, 2010