Message Boards

Liferay Custom Asset display name

Sebastian Wikholm, modified 2 Years ago.

Liferay Custom Asset display name

Regular Member Posts: 104 Join Date: 3/10/11 Recent Posts

I asked this same questions five years ago with an older version of liferay.

Im now using liferay 7.4, trying to develop custom asset types. Have indexing and all that fixed, but i still get the displayed type of an asset as: 
model.resource.xxx.service.model.xxx.

As was mentioned in the earlier questions these are mapped in Language resource files. Now the assetrenderer and the assetrendererfactory are in the modules sources, but all other logic about the service is in the service module. Is there a way to map in the service the displayname of an asset or should i just put it in the modules language keys? ie: model.resource.xxx.service.model.xxx=myName ?

thumbnail
Mohammed Yasin, modified 2 Years ago.

RE: Liferay Custom Asset display name

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts

Hi ,

  You can refer to the link below. Maybe it will be helpful to you.  

https://help.liferay.com/hc/en-us/articles/360029315011-Using-a-Language-Module#using-a-language-module-from-a-module