--- title: "Remove external link" slug: "base-remove-external-link-actor" updated: 2026-04-02T06:24:23Z published: 2026-04-02T06:24:23Z canonical: "docs.lobstersoftware.com/base-remove-external-link-actor" --- > ## 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. # Remove external link *See also:* [Add external link](/v1/docs/en/base-add-external-link-actor), [External links](/v1/docs/en/core-external-link-configuration) [External links (background)](/v1/docs/en/config-external-links-background) > [!NOTE] > Event action – Abstract > > **Purpose:** Removes the 'external link attribute' for a specific external link type from the attributes of the related object, if present. > > > [!TIP] > > Tooltip > > > > - **Usage:** The [External link type](/v1/docs/en/core-external-link-type) selected as a parameter, determines which 'external link attribute' of the related object should be removed. > > - **Parameter:** [External link type](/v1/docs/en/core-external-link-type) (single selection). > > - **Output:** An existing 'external link attribute' with the specified [External link type](/v1/docs/en/core-external-link-type) is removed from the data of the related object. > > - **NOTE:** 'External link attributes' are applicable for all business transaction types except [Manifests](/v1/docs/en/mfst-manifest). The [Remove external link](/v1/docs/en/base-remove-external-link-actor) event action removes the 'External link' attribute with the [External link type](/v1/docs/en/core-external-link-type) specified by the parameter from the attributes of the *reference object*, if it exists. If the *reference object* does not support this attribute type, no attribute with the specified [External link type](/v1/docs/en/core-external-link-type) already exists or no [External link type](/v1/docs/en/core-external-link-type) is specified, nothing will happen. By default, the business transaction object types ([Common business object](/v1/docs/en/orchestration-common-bto), [Orders](/v1/docs/en/ord-order), and [Shipments](/v1/docs/en/shp-shipment)) can be used as *reference objects*, however, the [Manifests](/v1/docs/en/mfst-manifest) cannot be used. ## Configuration ![images/download/attachments/177907066/image2021-5-12_7-38-39-version-1-modificationdate-1722953256878-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-5-12_7-38-39-version-1-modificationdate-1722953256878-api-v2.png) The single, unnamed parameter specifies which 'External link' should be removed by a static, unique selection from the dynamic enumeration [External link type](/v1/docs/en/core-external-link-type). Since each external link type can be assigned to the same business object only once, only the type must be specified for removal as well. ## Example A ribbon macro in an overview for [Shipments](/v1/docs/en/shp-shipment) should trigger a [Custom action event](/v1/docs/en/core-custom-action-events) that removes the external link attribute with the [External link type](/v1/docs/en/core-external-link-type) 'ERP-Link' (`ERP_LINK`) for a single selected shipment, if it exists. If the 'ERP link' attribute does not yet exist, it is added instead. Configuration: | As a reaction to a [Custom action event](/v1/docs/en/core-custom-action-events), an event handling is triggered that verifies by [Check type](/v1/docs/en/core-check-type-rule) that the input value provides an entity of the 'shipment' type as a *reference object*. The **Action on passed rule** is configured as shown on the right: - An [If then else](/v1/docs/en/core-if-then-else-actor) event action first checks via an [Entity property rule](/v1/docs/en/core-entity-property-rule) whether the shipment has an 'External link attribute' with the **Subtype** 'ERP link'. - If the return value from the [Typed attribute resolver](/v1/docs/en/core-typed-attribute-resolver) for this attribute subtype is 'not empty', then the event action [Remove external link](/v1/docs/en/base-remove-external-link-actor) (for the same subtype) is executed in the IF branch (left) so that the 'ERP link' is removed. - The event action [Add external link](/v1/docs/en/base-add-external-link-actor), on the other hand, is executed in the ELSE branch (right) if no attribute exists for the 'ERP link' subtype. | ![images/download/attachments/177907066/image-2024-8-6_16-19-7-version-1-modificationdate-1722953947379-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-8-6_16-19-7-version-1-modificationdate-1722953947379-api-v2.png) | | --- | --- |