List of tokens in SharePoint 2010

Here is a handy table I found here http://msdn.microsoft.com/en-us/library/ee231545.aspx explaining what tokens are and which ones there are. I know I can just post hte link but including the table makes it more handy 🙂

Name Description
$SharePoint.Project.FileName$ The name of the containing project file, such as, “NewProj.csproj”.
$SharePoint.Project.FileNameWithoutExtension$ The name of the containing project file without the file name extension. For example, “NewProj”.
$SharePoint.Project.AssemblyFullName$ The display name (strong name) of the containing project’s output assembly.
$SharePoint.Project.AssemblyFileName$ The name of the containing project’s output assembly.
$SharePoint.Project.AssemblyFileNameWithoutExtension$ The name of the containing project’s output assembly, without the file name extension.
$SharePoint.Project.AssemblyPublicKeyToken$ The public key token of the containing project’s output assembly, converted to a string. (16-characters in “x2” hexadecimal format.)
$SharePoint.Package.Name$ The name of the containing package.
$SharePoint.Package.FileName$ The name of the containing package’s definition file.
$SharePoint.Package.FileNameWithoutExtension$ The name (without extension) of the containing package’s definition file.
$SharePoint.Package.Id$ The SharePoint ID for the containing package. If a feature is used in more than one package, then this value will change.
$SharePoint.Feature.FileName$ The name of the definition file of the containing feature, such as Feature1.feature.
$SharePoint.Feature.FileNameWithoutExtension$ The name of the feature definition file, without the file name extension.
$SharePoint.Feature.DeploymentPath$ The name of the folder that contains the feature in the package. This token equates to the “Deployment Path” property in the Feature Designer. An example value is, “Project1_Feature1”.
$SharePoint.Feature.Id$ The SharePoint ID of the containing feature. This token, as with all feature-level tokens, can be used only by files included in a package via a feature, not added directly to a package outside of a feature.
$SharePoint.ProjectItem.Name$ The name of the project item (not its file name), as obtained from ISharePointProjectItem.Name.
$SharePoint.Type.<GUID>.AssemblyQualifiedName$ The assembly qualified name of the type matching the GUID of the token. The format of the GUID is lowercase and corresponds to the Guid.ToString(“D”) format (that is, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
$SharePoint.Type.<GUID>.FullName$ The full name of the type matching the GUID in the token. The format of the GUID is lowercase and corresponds to the Guid.ToString(“D”) format (that is, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Comments are closed.