Implementing Asset Renderers

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?

Let’s Go!

« Handling Assets at the Entry Service LayerImplementing a Guestbook Asset Renderer »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています