(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 + C
and click Entity - Set
Name
to: Ticket Comment - Set
Create Display Attribute
to: 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 Name
to: Message - Set
Type
to: 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 + Q
to activate the Search feature in the topbar. Type Ticket. (Alternatively, go to Data > Entities) - In the Data Definition section, click
Add Reference
- Set
Name
to: Ticket Comment - Set
Type
to: Composition - Set
Referenced
to: 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 entity
to: TicketComment - Set
Title
to: Comments - Set
Text Attribute
to: Message - Set
Creator Attribute
to: CreatedBy - Set
Created Attribute
to: CreatedDate - Set
Parent Entity Reference
to: Ticket - Click
OK
- Click
OK
- Save changes:
Ctrl + S