VwaShape.getComments Method

SharePoint 2013

Last modified: June 26, 2012

Applies to: apps for SharePoint | SharePoint Server 2013

Returns an array of anonymous objects, each of which specifies a comment that is associated with the shape.

var value = VwaShape.getComments()

Object[] An array of anonymous objects, each of which specifies a comment that is associated with the shape.

If there are no comments associated with the shape, the method returns an empty array.

Each anonymous object in the array that is returned has the following properties:

Author A string that specifies the name of the author of the comment.

Date A string that specifies the date that the comment was made.

Value A string that contains the comment text.

For more information about how to add a Visio Web Access Web Part to a SharePoint Web Parts page, see Customizing Visio Web Drawings in the Visio Web Access Web Part.

Show: