**Source URL:** https://general.veevavault.dev/medical/mdl/component-types/link.md

# Link

**Class: ** `metadata`

Defines a Web Action.

Learn about <a href="https://platform.veevavault.help/en/lr/21270" target="_blank">Web Actions in Vault Help</a>.

| Attribute | Metadata | Description |
| --- | --- | --- |
| send_session_via_post_message | Type: Boolean | Specifies the option to send post session credentials via post message instead of through the URL. |
| url | Type: StringRequiredMax length: 2083 | Defines the URL link for the web action. |
| component | Type: EnumRequiredAllowed values:DocumentObject | Specifies whether the action applies to documents or objects records. |
| target | Type: EnumRequiredAllowed values:selfblank | Controls where the target URL displays when a user executes the web action. |
| label | Type: StringRequiredMax length: 40 | UI-friendly string in the Vault's base language. |

### Supported Operations {#supported-operations}

| Operation | Support |
| --- | --- |
| Create | Yes |
| Recreate | Yes |
| Alter | Yes |
| Drop | Yes |
| Rename | Yes |
| Describe | Yes |
| Generate Recreate | Yes |
| Queryable | No |


---

**Previous:** [Lifecyclestatetypeassociation](/medical/mdl/component-types/lifecyclestatetypeassociation)  
**Next:** [Matchingrule](/medical/mdl/component-types/matchingrule)