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.

 

 

Following are the list of Replaceable Parameters.
Working following files that use  Replaceable  Parameters by default.
  1. Xml 
  2. ASCX 
  3. ASPX 
  4. WebPart 
  5. 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


“ 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

“ SharePoint Central Administration v3”

/_admin : Local drive: \Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\ADMIN

/_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

Popular posts from this blog

SharePoint RPC Protocols Examples Using OWSSVR.DLL

STS CryptographicException Error : Key set does not exist

SharePoint 2013 Search =>Increase CutoffMaxBuckets size of the refiner