SP.Social.SocialAttachment object (sp.userprofiles)
Represents an image, video, or document in a microblog post.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Social.SocialAttachment()
Members
The SocialAttachment object has the following members.
Constructor
The SocialAttachment object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of a SocialAttachment object. |
Methods
The SocialAttachment object has the following methods.
Method |
Description |
---|---|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
Properties
The SocialAttachment object has the following properties.
Property |
Description |
---|---|
Gets or sets the type of attachment. |
|
Gets or sets the action to perform on a click event. |
|
Gets or sets the URI to the attachment file. |
|
Gets or sets the attachment's description. |
|
Gets or sets the height of the attachment or its preview. |
|
Gets or sets the length of the attachment, in seconds. |
|
Gets or sets the attachment's name. |
|
Gets or sets the URI for the attachment's preview image. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
Gets or sets the URI to the list item for the attachment. |
|
Gets or sets the width of the attachment or its preview. |
See also
Other resources
Work with social feeds in SharePoint 2013
How to: Embed images, videos, and documents in posts in SharePoint Server 2013