Add site name automatically

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
TWendt
Posts: 109
Joined: Mon Sep 08, 2014

10 Jan 2018

Hello,
is it possible to add the site name automatically?

Best wishes
Tom

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

11 Jan 2018

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

TWendt
Posts: 109
Joined: Mon Sep 08, 2014

11 Jan 2018

Hi Dmitry,

i use Sharepoint 2013 on premise.

Best wishes
Tom

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

12 Jan 2018

Hi!
The same property is available in SharePoint 2013 on-premises.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests