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

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

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

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

Return value

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

Remarks

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

See also

Other resources

SocialAttachment