SharePoint 2010 Replaceable Parameters, Dynamic Tokens, Dynamic Folder Path
Replaceable Parameters :
Replace the tokens values at the run time or compile time.Information not known at design time.Replaceable parameters used in custom actions, assembly name defined at the top of the custom web part control.
/_vti_adm : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\14\ADMISAPI
Replaceable Prameters: http://blah.winsmarts.com/2013-2-SharePoint_2013_apps_replacement_tokens.aspx
Following are the list of Replaceable Parameters.
“ SharePoint Site"
/_controltemplates : Local drive: \Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES
/_layouts : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\layouts
/_vti_bin : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\14\ISAPI
/_wpresources : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources
/_admin : Local drive: \Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\ADMIN
- $SharePoint.Project.Assembly.FullName$
- $SharePoint.Feature.ID$
- {ItemId}
- {ItemUrl}
- {SiteUrl}
- {ListId}
- {RecurrenceId}
- Xml
- ASCX
- ASPX
- WebPart
- DWP
Dynamic Token (Microsoft Definition)
This token references a master page from a content page by using the MasterPageFile attribute with the value of the CustomMasterUrl property. The token "~masterurl/custom.master" is replaced at run time by the value in the CustomMasterUrl property, which contains the server-relative full path to the master page, including file name.
Static Tokens (Microsoft Definition)
You can use these tokens to link to a site-relative or site collection-relative master page. For example, if your content page is located at http://siteColl/subsite1/subsite2/default.aspx and you use the token "~sitecollection/mypage.master", your content page would use the master page at http://siteColl/mypage.master. If you use the token "~site/mypage.master", the content page would use the master page located at http://siteColl/subsite1/subsite2/mypage.master.
Folder Path virtual Path
/_controltemplates : Local drive: \Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES
/_layouts : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\layouts
/_vti_bin : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\14\ISAPI
/_wpresources : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources
“ SharePoint Central Administration v3”
/_vti_adm : Local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\14\ADMISAPI
Replaceable Prameters: http://blah.winsmarts.com/2013-2-SharePoint_2013_apps_replacement_tokens.aspx
Comments
Post a Comment