Assets are generic versions of entities, so they contain fields like title
,
description
, and summary
. Liferay DXP uses these fields to display assets.
Asset Renderers translate an entity into an asset via these fields. For
Liferay DXP to display your entities as assets, you must therefore create and
register Asset Renderer classes for your guestbook and guestbook entry entities.
Without these classes, Liferay DXP can’t display your entities in Asset Publisher,
Notifications, Activities, or anywhere else that displays assets.
Your next task is to create these Asset Renderers. Ready to begin?