ExecuteUrl Element (Site)

Last modified: March 09, 2015

Applies to: SharePoint Foundation 2010

Used in an Onet.xml file to specify the URL that is called after the site definition is instantiated.


<ExecuteUrl
  Url = "Text">
</ExecuteUrl>

Attribute

Description

Url

Required Text. Specifies the URL of a page located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS to open after the site is instantiated. For example, <ExecuteUrl Url="_layouts/[%=System.Threading

.Thread.CurrentThread.CurrentUICulture.LCID%]/settings.aspx"/>

Minimum: 0

Maximum: 1

Use the ExecuteUrl element to open the site definition creation process to arbitrary post-processing capabilities.

Show: