Foros de discusión

AssetPublishing and Search after 7.0

Fernando Frederico Gonzales, modificado hace 7 años.

AssetPublishing and Search after 7.0

New Member Mensajes: 7 Fecha de incorporación: 8/06/16 Mensajes recientes
We use Liferay 7.0 and want to search and display our own assets (questions in that specific case). Problem is, the 6.2 Docs are using AssetRenderer to make Assets publishable and searchable, but apparently this does not work any longer in Liferay 7. The new docs give no hint whatsoever about how to make own assets listable in search and have them show up in the Publisher.
thumbnail
David H Nebinger, modificado hace 7 años.

RE: AssetPublishing and Search after 7.0

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Asset renderers, etc., still work under LR7, they are just registered now using annotations instead of through the liferay-portlet.xml file.

If you search the source for the BookmarksEntryAssetRendererFactory class, that will show you how to register the factory and expose the BookmarksEntryAssetRenderer class.

Using these as references, you should be able to get a start building out your custom entity asset renderers.