Retrieves data from internet locations.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:embeduri> <se:parameters> <se:parameter name="location"> </se:parameter> </se:parameters> </se:embeduri> |
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. |
Cookies | Collection | - | Gets or sets a collection of cookies passed to and from the embedded page. these cookies override any cookies passed when HeaderMode is set to Request. |
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. |
HeaderMode | Enum | - |
Sets the http header handling mode for the embedded request/response.
Enum values:
|
Location | Locator | - | Gets or sets the location to embed. |
Password | String | - | Sets the password for the embedded request. |
PostDirect | Boolean | - | Set to true to make form actions point to the embedded page directly, without passing through Smartsite. |
ProcessHttpErrors | Boolean | - | Set to true to receive a response even when an Http error has occurred. Set to false to throw the Http error as an exception. |
RequestHeaders | Collection | - | Sets the request headers. |
UsePostData | Boolean | - | Pass posted form data to the embedded page. |
UserName | String | - | Sets the name of the user for the embedded request. |
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.ResponseCookies | Gets the cookies set by the embedded page. | |
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) |