---
schema_version: "1"
id: 5afc6b1f936c50ab0c6544f7969729f79b9b5f6f10afc54c80468ca054e399d2
title: ConnectApi.LinkCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_link_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_link_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8974a365f71b1861b08be1f9050cd8942264faa160021113d2cdfbd25a7f68d6
description: If a feed element has this capability, it has a link.
---
# ConnectApi.LinkCapability

If a feed element has this capability, it has a link.

Subclass of [ConnectApi.FeedElementCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capability.htm "A feed element capability, which defines the characteristics of a feed element.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| url | String | Link URL. The URL can be to an external site. | 32.0 |
| urlName | String | Description of the link. | 32.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")