Page 1 of 1

Add site name automatically

Posted: 10 Jan 2018
by TWendt
Hello,
is it possible to add the site name automatically?

Best wishes
Tom

Re: Add site name automatically

Posted: 11 Jan 2018
by Dmitry Kozlov
Hi Tom,
Could you be a bit more specific - what's you SsarePoint editions? where do you want to add a site name? In SharePoint Online, you can retrieve a site name from the _spPageContextInfo JS-object and insert wherever you want into your form:
_spPageContextInfo.webTitle

Re: Add site name automatically

Posted: 11 Jan 2018
by TWendt
Hi Dmitry,

i use Sharepoint 2013 on premise.

Best wishes
Tom

Re: Add site name automatically

Posted: 12 Jan 2018
by Dmitry Kozlov
Hi!
The same property is available in SharePoint 2013 on-premises.