Skip to main content

Inheritance and Reusability

If you have the same attribute in multiple entities you can extract them as a shared Aspect. For the Support Tickets app we can use the attributes Created By and Created Date because they will be useful in other entities.

NOTE: This tutorial is built upon the foundation of the Support Ticket application.

1. Extract Attributes into Shareable Aspect

  • Go to Data > Entities and double-click Ticket
  • In the Data Definition > Attributes section, click the Magic Wand, then click: Extract Shared Aspect
  • Set New Aspect Name to: Time Stamp
  • Select Created By and Created Date
  • Click Extract aspect
  • Save Ctrl + S

2. Add the Aspect to an Entity

  • In Data > Entities, double-click Ticket Notes
  • Set Inherited Aspects to: TimeStamp
  • Save changes: Ctrl + S

TimeStamp is listed in the Data > Aspects section. You can reuse it in other entities and update UI pages and components, if necessary.