Fórum

AssetPublishing and Search after 7.0

Fernando Frederico Gonzales, modificado 7 Anos atrás.

AssetPublishing and Search after 7.0

New Member Postagens: 7 Data de Entrada: 08/06/16 Postagens Recentes
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 7 Anos atrás.

RE: AssetPublishing and Search after 7.0

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes
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.