Attachment Input: Link

Link attachment input.

This request body isn’t available in version 32.0 and later. In version 32.0 and later, use Link Capability Input.

Important

XML
The attachmentType property is an attribute of the <attachment> element. For example:
<attachment attachmentType="Link">
   <url>http://www.google.com</url>
   <urlName>A search engine</urlName>
</attachment>
JSON
{ "attachment": 
   {
      "attachmentType":"Link",
      "url": "https://salesforce.com",
      "urlName": "Salesforce"
   }
}
Properties
Name Type Description Available Version
attachmentType String The attachment type. Must contain the value Link. 27.0–31.0
url String URL included in the attachment. 23.0–31.0
urlName String Optional. Name of the URL. If not provided, a name is generated from the domain name of the URL. 23.0–31.0