(14) Components – Comments
- Support Ticket Tutorial -
Establish a Message Board for Each Support Ticket
Multiple people may work on a support issue and users may want to add comments to the tickets. This feature will add an area for communication on the Ticket Detail page.
1. Create Ticket Comment Entity
- Press
Ctrl + Shift + Cand click Entity - Set
Nameto: Ticket Comment - Set
Create Display Attributeto: Comment - Click
Next - In
Create Pages, remove all of the pages - Click
Finish
2. Add Attributes to the Ticket Comment Entity
- In the Data Definition > Attributes section, click
Add Attribute - Set
Attribute Nameto: Message - Set
Typeto: Rich-text Markdown - Click
Save
— - Go to the Settings tab, click
Inherited Aspects - Select TimeStamp
- Save changes: Ctrl + S
3. Create Composition Reference on the Ticket
- Type
Ctrl + Qto activate the Search feature in the top bar. Type Ticket. (Alternatively, go to Data > Entities) - In the Data Definition section, click
Add Reference - Set
Nameto: Ticket Comment - Set
Typeto: Composition - Set
Referencedto: Ticket Comment - Click
Save - Save changes:
Ctrl + S
4. Add Comment Components
- Click Ctrl + Q. Type Ticket Detail. Press
Enter(if necessary). Click the Ticket Detail entity page. (Alternatively, go to UI > Entity Pages) - In the Layout section, click
Add View - Click
Create Empty View for Ticket - In the sidebar of the Layout dialog box, go to Advanced Components and click
Comments - Click
Configure comments - Set
Item entityto: TicketComment - Set
Titleto: Comments - Set
Text Attributeto: Message - Set
Creator Attributeto: CreatedBy - Set
Created Attributeto: CreatedDate - Set
Parent Entity Referenceto: Ticket - Click
OK - Click
OK - Save changes:
Ctrl + S