This documentation is archived and is not being maintained.

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

SharePoint 2013

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

Last modified: August 27, 2013

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

var value = SP.Social.SocialAttachment.get_clickAction()

The action to perform on a click event: navigate (open in a new tab) = 0, adHocAction (action depends on the type of attachment) = 1.

This property is used only when attachmentKind is a video (value = 1) or document (value = 2).