--- title: "get storage service content (Integration function)" slug: "de-lobster-scm-storage-get-storage-service-content-filter" updated: 2026-04-29T11:41:00Z published: 2026-04-29T11:41:00Z canonical: "docs.lobstersoftware.com/de-lobster-scm-storage-get-storage-service-content-filter" --- > ## 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. # get storage service content (Integration function) *See also*: [get document content (Integration function)](/v1/docs/en/de-lobster-scm-doc-get-document-content-filter) > [!NOTE] > The [get storage service content (Integration function)](/v1/docs/en/de-lobster-scm-storage-get-storage-service-content-filter) function returns the content of a document uploaded to **Lobster Data Platform/Orchestration** if it is registered with the storage service specified by parameter **a** (storage service key) under the key value defined by parameter **b** (document id). > > > [!TIP] > > | Parameter | Description | > > | --- | --- | > > | a | *Storage Service Key:* Identifier for a storage service from **Lobster Data Platform/Orchestration**. | > > | b | Key value (`document id`) under which the document was registered by the service. | > > | c | With the value `true` the document content is returned as a *Base64 string*, otherwise binary data. | > [!NOTE] > What is a Storage Service? > > **Lobster Data Platform/Orchestration** manages uploaded files ("documents") depending on the *context* via one of the following "Storage Services" > > | Storage Service Key | Context | Entity in context | "Document" in context | Key value ("Document id") | Optional module? | > | --- | --- | --- | --- | --- | --- | > | `mailAttachments` | [E-mails](/v1/docs/en/administration-system-mail) | E-mail created by the system `core:Mail` | File attachments (`attachementEntry.content`) | Internal ID of the mail attachment (`attachementEntry.id`) | *No (always installed)* | > | `documents` | [Documents](/v1/docs/en/doc-document) | Document `doc:Document` | Document content (`documentContent`) | Internal ID of the document (`id`) | Documents (`DOC`) | > | `signedByImages` | [Tracking state](/v1/docs/en/tracking-state-1) | Tracking status entry `baseTS:TrackingStatusEntry` | Recorded signature (graphic file)(`signedByImage`) | Internal ID of the tracking status entry (`id`) | Tracking status (`TS`) | > > **NOTE:** The term "document" is used in this context as a generic term that can refer, among other things, to the [Documents](/v1/docs/en/doc-document) managed in the document module of **Lobster Data Platform/Orchestration**. For the access to such [Documents](/v1/docs/en/doc-document), the function [get document content (Integration function)](/v1/docs/en/de-lobster-scm-doc-get-document-content-filter) can be used alternatively, for which the *Storage Service* *Key* `documents` is virtually "preset". The function [get storage service content (Integration function)](/v1/docs/en/de-lobster-scm-storage-get-storage-service-content-filter) returns the content of a document uploaded to **Lobster Data Platform/Orchestration**, if it is registered with the storage service specified by parameter **a** (*storage service key*) under the key value defined by parameter **b** (*document id*). Depending on parameter **c** the document content is returned either *binary* (`false/Standard`) or *Base64 encoded string*. ![images/download/attachments/201674024/image2020-10-28_16-8-1-version-1-modificationdate-1747044194217-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-10-28_16-8-1-version-1-modificationdate-1747044194217-api-v2.png) > [!NOTE] > **NOTE:** > > - The document content is made available without consideration of role permissions, ownership and authorizations applicable for **Lobster Data Platform/Orchestration**, if the access is made by [get storage service content (Integration function)](/v1/docs/en/de-lobster-scm-storage-get-storage-service-content-filter) function. > - If no document with the `document id` addressed in parameter **c** exists at the time of the function call, the profile terminates with an error. ## Parameter | Parameter | Description | Example | Note | | --- | --- | --- | --- | | a | *Storage Service Key:* Identifier for a Storage Service from **Lobster Data Platform/Orchestration**. | `mailAttachments` | The info box (above) lists the valid *Storage Service Keys*. | | b | Key value (`document id`) under which the document was registered by the service. | `4711` | The info box (above) indicates how the key value is defined per *Storage Service*. | | c | With the value true the document content is returned as *Base64-string*, otherwise binary data. | `true` `false` | *Base64* content can for example be used in XML documents to embed binary files as strings.The return of *binary data* returns the file content directly (like a download). | ## Example A profile forwards a certain file attachment from an e-mail generated by **Lobster Data Platform/Orchestration** to another system via a suitable reply path. ![images/download/attachments/201674024/image2020-10-28_16-9-26-version-1-modificationdate-1747044194213-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-10-28_16-9-26-version-1-modificationdate-1747044194213-api-v2.png) The `attachedEntryId` calculation field first determines the internal ID of the attachment to be accessed, e.g. via a [Search](/v1/docs/en/core-search) or [Tuple search](/v1/docs/en/core-tuple-search) defined with the [SearchTask (Integration function)](/v1/docs/en/de-lobster-scm-dw-filters-scm-search-filter) function for the `core:Mail` object. **NOTE:** As the symbol for the field indicates, a fixed value was stored here, since details for determining the ID are irrelevant for the example. In the `content` field, which is crucial for the output in the reply path, the [get storage service content (Integration function)](/v1/docs/en/de-lobster-scm-storage-get-storage-service-content-filter) function calls the content for the determined internal ID: - The relevant *Storage Service* for e-mail file attachments is specified in the parameter **a** by the *Storage Service Key* `mailAttachments`. - The value from the target field `attachedEntryId` is transferred to the parameter **b** as `document id`, i.e. the previously determined internal ID. - The parameter **c** gets no assignment, as the file content should be returned directly ("binary" and not as Base64 code).