共用方式為


ExecuteUrl Element (Site)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 \\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\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.