1

I would like to know if there is a way to get the Site Name to somehow create a dynamic url within a content editor webpart.

For example if I have the following absolute url:

http://myserver/mysitecollection/mysite/documentlibrary/allitems.aspx

I would like to build a dynamic url where mysite is automatically populated based on the site I'm in.

http://myserver/mysitecollection/{SiteNameVariable}/documentlibrary/allitems.aspx

Thanks in advance, Jovi

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.