You can use the Profile Diagram to customize Cameo Collaborator comment templates according to your needs or specific project requirements. Add additional input fields and properties, such as version selection check boxes or a Jira issue input field, which users can see in the web interface comments panel.
To create a Cameo Collaborator comment template
To see the Profile Diagram option when creating a new diagram, click |
Type | Multiplicity | Result |
---|---|---|
String | 0 | Not required |
String | 0..1 | Not required |
String | 0..* | Not required |
String | 1 | Required |
String | 1..* | Required |
String | Default | Required |
Boolean | - | Shown |
Enumeration | 0 | Not shown |
Enumeration | 0..1 | List, value is not required |
Enumeration | 0..* | Check box, value is not required |
Enumeration | 1 | List, value is required |
Enumeration | 1..* | Not shown |
Enumeration | Default | List, value is required |
Once you've finished editing the diagram, commit the project to the server. Now, users can use the template you created when adding comments in Cameo Collaborator.
Example
In our custom template, let‘s display check boxes with the label Version and the following values:
2024x
2024x Refresh1
2024x Refresh2
and provide an input field for a Jira issue URL.
To do this, we need to create an Enumeration type element and set the check box values as its properties:
Then, we add a property, e.g. Version, to the «Project X custom comments» stereotype, set its type to Versions, and its multiplicity to 0..* to display check boxes.
To add an input field for a Jira issue URL, we add a Jira Issue URL property and set its type to String:
After we commit the project to the server, users can see the Project X custom comments template with check boxes and Jira Issue URL input field in the Cameo Collaborator web interface: