Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SP.Social.SocialAttachment object (sp.userprofiles)

SharePoint 2013

Represents an image, video, or document in a microblog post.

Last modified: August 21, 2013

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Social.SocialAttachment()

The SocialAttachment object has the following members.

Constructor

The SocialAttachment object has the following constructor.

Constructor

Description

SocialAttachment

Initializes a new instance of a SocialAttachment object.

Methods

The SocialAttachment object has the following methods.

Method

Description

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

writeToXml

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

attachmentKind

Gets or sets the type of attachment.

clickAction

Gets or sets the action to perform on a click event.

contentUri

Gets or sets the URI to the attachment file.

description

Gets or sets the attachment's description.

height

Gets or sets the height of the attachment or its preview.

length

Gets or sets the length of the attachment, in seconds.

name

Gets or sets the attachment's name.

previewUri

Gets or sets the URI for the attachment's preview image.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

uri

Gets or sets the URI to the list item for the attachment.

width

Gets or sets the width of the attachment or its preview.

Show:
© 2015 Microsoft