--- title: "Load web resource" slug: "frebehav-load-web-resource" updated: 2026-05-04T08:42:25Z published: 2026-05-04T08:42:25Z canonical: "docs.lobstersoftware.com/frebehav-load-web-resource" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Load web resource The load web resource behavior provides data from a URL-defined data source via the specified decoder, which is passed to the actions on "true". The URL is evaluated as a calculation expression and can define an absolute or relative path. The **Behavior type** [Load web resource](/v1/docs/en/frebehav-load-web-resource) should use the specified **Decoder** to obtain behavior data from a data source defined by **URL**, which is passed to the **Actions on "true"**. A typical application is the [Populate element data](/v1/docs/en/freaction-populate-data) to map the data to suitable [Form elements](/v1/docs/en/fre-form-elements). If the data request fails or if an error occurs while parsing the data, the **Actions on "true"** are still executed, but without the expected data. Instead, error messages may be returned as `$input`. ![images/download/attachments/189432018/image-2024-9-30_12-32-3-version-1-modificationdate-1727692322421-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-9-30_12-32-3-version-1-modificationdate-1727692322421-api-v2.png) The **URL** as a [Calculation expression](/v1/docs/en/core-raw-parser) can define an absolute or relative path. Relative paths are interpreted based on the URL of the current **Lobster Data Platform/Orchestration** login. Uploaded content can therefore only be read as a web resource if it is stored within the `web` folder (see [File manager](/v1/docs/en/ac-environment-filemanager)), which has read access, even without logging in. Depending on the selected **Decoder**, further parameters may be selectable (see screenshot above): | Decoder | Description | | --- | --- | | **CSV** | The CSV decoder parses the returned data as CSV format with the separator specified in the **Delimiter** parameter (for columns within a row). The escape character defined in the **Escape** char parameter allows the use of the column separator (**Delimiter**) as a regular text character by enclosing the text for the relevant column between two escape characters. In the first row of the CSV data, the names of the data fields are always expected in the corresponding number and order ("column headers"). Columns for which no name is specified are skipped, so that the generated object does not reflect their contents in the behavior data (see second record in the example). Example: CSV data with default **Delimiter** and **Escape** char. ```plaintext id,type,description 1,doorL_rd_el,"Door (left), RED, with powered window 2,doorR_rd_el,Door (right), RED, with powered window ``` This data yields the array object shown below in JSON format with two entries: Object in JSON format ```plaintext [ { "id": "1", "type": "doorL_rd_el", "description": "Door (left), RED, with powered window" }, { "id": "2", "type": "doorR_rd_el", "description": "Door (right)" } ] ``` - In the second data set, the escape characters for the `description` field were missing, so the content was cut off at the first separator (comma). The following text is ignored as "unmarked columns" content. | | **CLIENT** | The client XML decoder processes native XML format (without reference to type information) as it can be interpreted and processed by the browser. Example: A list data structure similar to the CSV example could look like this as (client) XML: ```xml 1doorL_rd_el ... 2doorL_rd_el ... ``` Of course, more complex data structures that do not have a list structure can also be loaded in XML format. | | **SERVER** | The server XML decoder expects an XML format that is type-safe, as used in all export formats in **Lobster Data Platform/Orchestration**. | | **JSON** | The JSON decoder processes data in JSON format, as shown in the CSV example to represent the parsed object. | | **TEXT** | This option copies any text directly into the behavior data without parsing or interpreting it. | | **BYTE_ARRAY** | Returns the bytes of a file returned by the resource directly (ByteArray type). |