ReadURL
Reads the contents of a URL into a map element.
This function is used as the I/O expression of the element to contain the data to be read. The contents of the URL will be read during the map execution populating the values of the element containing the I/O expression and any subordinate elements.
You may use this function in multiple map elements in order to read multiple files. You may not however nest the use of this function. In other words, if a map element contains an I/O expression, no subordinate map element may contain an I/O expression.
This function can be used to allow reading from multiple documents/objects in the map execution that are assigned dynamically by calling methods on the MapExecutionContext. In this case the URL is not required.
This function can only be used in the IO/Database tab.
Arguments
Start Offset | Specify the byte offset for the element. If not specified, the offset is 0. |
Length | Specify the number of bytes to read in the element. If not specified, all of the bytes are read. |
Properties
Representation | Select the representation to use when processing this element. This is used if multiple representations are available in the structure inheriting this element. |
URL | Enter the URL from which to read the data. If you want to read a file, specify a file URL which is: file:// followed by the name of the file. |