addComment()

This method adds a comment on a parameter or a subcomment on a parameter comment.

This page discusses:

Arguments

  • paramId: String identifying the parameter for which the comment should be defined.
  • text: Text content of the comment.
  • parentId: Optional parameter defining a parent comment under which the comment should be added. This is used only for defining subcomments.

Return Value

Returns a dictionary-like object describing the newly added comment.

The parentId attribute is the ID attribute on the comment objects returned by comment methods in the Parameter API, such as addComment() or getComments().

The paramId attribute is the ID attribute on parameter objects, such as those returned by the select() or next() methods.