ECMAScript - Get Site Collection Server Relative URL

Posted by Antonio Lanaro on March 31, 2011

To programmatically obtain the Site Collection Server relative URL, with JavaScript Client Object Model.

INTRODUCTION:

One is working with the following Site Collection “http://myserver/mysitecollection “, and needs to get the Site Collection Server Relative Url “/mysitecollection “.

At... [read more]

Rating

4/5

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.