Prev | Next |
GetItemList
Inputs
Parameter |
Details |
---|---|
parameters |
A JSON string of parameters. Includes:
|
Outputs via Callbacks
[Optional] AddProperty - multiple calls per item:
- AddProperty(index, "id", "myitemid");
- AddProperty(index, "name", "Example Item 3");
- AddProperty(index, "modifiedDate", "2022-04-06T11:33:44");
- AddProperty(index, "type", "Requirement");
- AddProperty(index, "url", "http://example.com/item/3");
[Optional] LogMessage or SetError - to provide user feedback.
Details
This method receives a request to populate the list of items in the External Data window for the selected menu level. This method should fill in the items by calling the AddProperty callback method.
Each item requires five calls to AddProperty to fill in the details of the item in the list. And each item must use a unique 'index' value as the first parameter.
- id - the id passed in specifies a unique id representing this item; the Plug-in can receive this id back in subsequent calls (such as when requesting item details or notes)
- name - the user-displayable name of the item
- modifiedDate - the date/time that the item was last modified, in the format: YYYY-MM-DDTHH:MM:SS
- type - the type of the item as understood by the external provider; for example Defect, Task, Requirement, Document
- url - a url that will take a user directly to this item; this is used by Enterprise architect when selecting 'Open External Item in Browser Window'
Don't return an error for a blank response. Simply do nothing.