Wednesday, 2 July 2014

Velocity Tokens in Sitecore

The following lists the tokens available in Sitecore 6.2.
$name
The name of the item being created
$id
The ID of the item being created
$parentid
The ID of the parent of the item being created
$parentname
The name of the parent of the item being created
$date
Date part of the current datetime in Sitecore ISO format
$time
Time part of the current datetime in Sitecore ISO format
$now
The current date in Sitecore ISO format


Token were earlier called as velocity Variables...
We can create our own custom tokens 
Very good articles as given below

http://adeneys.wordpress.com/2009/12/29/custom-tokens-and-nvelocity-for-item-creation/

No comments:

Post a Comment

Featured post

Getting Started With SOLR

Getting Started with Solr ·           Features o    Hit highlighting o    Auto correction o    Faceted Search o    Multi lan...