RSS

Some useful SharePoint 2013 URL Strings and Tokens

08 Jan

SharePoint provides several tokens that are useful for constructing a context-specific URL.

Token Resolves To
~site Refers to the URL of the current Web site.
~sitecollection Refers to the URL of the parent site collection of the current Web site.
~layouts Refers to _layouts/15 with respect to the Web application.
~sitecollectionlayouts Refers to the layouts folder in thecurrent site collection (such as /sites/mysite/_layouts/15).
~sitelayouts Refers to the layouts folder in the current site (such as site/mysite/mysubsite/_layouts/15)

To learn more about URL strings and tokens, see the Microsoft Development Center

Advertisements
 
Leave a comment

Posted by on January 8, 2015 in SharePoint 2013, Token, URL

 

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: