다음을 통해 공유


ExecuteUrl Element (Site)

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>

Attributes

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"/>

Child Elements

None

Parent Elements

Configuration

Occurrences

Minimum: 0

Maximum: 1

Remarks

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