Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

GetItemDiscussion

Return the discussions/comments/etc for the selected item.

Inputs

Parameter

Details

parameters

  • C++: const char*
  • C#: string

A JSON string of parameters. Includes:

  • itemID - the unique id of the item (as passed back in GetItemList)

Outputs via Callbacks

AddProperty - 3 calls are required per comment. Use a unique index value per comment:

  • AddProperty(index, "authorName", "Example Person 1");
  • AddProperty(index, "createdDate", "2020-04-06T12:34:56");
  • AddProperty(index, "comment", "Example comment on Item 1 by Person 1");

[Optional] LogMessage or SetError - to provide user feedback.

Details

This method receives a request to populate the 'External' tab in the main Discussion Window with comments/discussion about this external item.