Renders items and includes the result data.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:embed> <se:parameters> <se:parameter name="location"> </se:parameter> </se:parameters> </se:embed> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
AddBaseHref | Boolean | - | Set to true to add a base href element to the head section of the embedded page. |
CustomPostData | Collection | - | Sets the custom post data. |
CustomRequestBody | String | - | Sets the custom request body. |
CustomRequestContentType | String | - | Sets the content type of the request when CustomRequestBody is set. |
FixLinks | Boolean | - | Fixes links to self and relative resources. |
FollowRedirect | Boolean | - | Determines if redirect instructions from the embedded page are followed. |
Location | Locator |
IsRequired
|
Gets or sets the location to embed. |
OutputDecoding | Enum | - |
Sets a value indicating whether to use output decoding before sending the response to the client.
Enum values:
|
PostDirect | Boolean | - | Set to true to make form actions point to the embedded page directly, without passing through Smartsite. |
UsePostData | Boolean | - | Pass posted form data to the embedded page. |
UseSandbox | Boolean | - |
Sets a value indicating whether to run the embed in a sandbox. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.CompleteDocument | Gets the complete document. | |
This.DocumentBody | Gets the inner html of the document's body node. | |
This.DocumentBodyNode | Gets the Xml of the document's body node. | |
This.Expires | Gets the expiry date of the embedded page. | |
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.HeadSection | Returns a DataTable containing all the header elements from the embedded page. | |
This.LastModified | Gets the last modified datetime of the embedded page. | |
This.MimeType | Gets the mime type of the embedded page. | |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.ResponseHeaders | Returns the http response headers. | |
This.ResponseTime | Gets the response time of the embedded page. | |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.Size | Gets the response length of the embedded page. | |
This.StatusCode | Gets the http status code of the embedded page (see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) |