SP.Social.SocialAttachment.attachmentKind property (sp.userprofiles)

Gets or sets the type of attachment.

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

var value = SP.Social.SocialAttachment.get_attachmentKind()
SP.Social.SocialAttachment.set_attachmentKind(value)

Return value

SocialAttachmentKind
The type of attachment: image = 0, video = 1, document = 2.

See also

Other resources

SocialAttachment