Message Boards

Assets publisher

David Gitonga, modified 9 Years ago.

Assets publisher

Junior Member Posts: 63 Join Date: 7/26/13 Recent Posts
Hi,
I have this requirement,
when adding an object there is a part for Related assets.
when i click on select button its showing list of all assets
e.g.
[indent][indent][/indent]Accounts
Blogs Entry
Matters
Client
Message Boards Message
Web Content
Calendar Event
Bookmarks Entry
Documents and Media Document
Wiki Page
[/indent]
But the client want only
[indent][indent][/indent]Accounts
Matters
Clien
t[/indent],

Is there a way to Filter this list?

Thank you.
thumbnail
Pankaj Kathiriya, modified 9 Years ago.

RE: Assets publisher

Liferay Master Posts: 722 Join Date: 8/5/10 Recent Posts
As of now, I don't think there is configuration available to achieve it.

But you may override portal-web\docroot\html\taglib\ui\input_asset_links\page.jsp in plugin-hook and filter it.
David Gitonga, modified 9 Years ago.

RE: Assets publisher

Junior Member Posts: 63 Join Date: 7/26/13 Recent Posts
Pankaj Kathiriya:
As of now, I don't think there is configuration available to achieve it.

But you may override portal-web\docroot\html\taglib\ui\input_asset_links\page.jsp in plugin-hook and filter it.


Thank you for quick reply, where is this jsp located,
Do i need to create the hook, or download it or its already in the liferay portal.
thumbnail
Pankaj Kathiriya, modified 9 Years ago.

RE: Assets publisher

Liferay Master Posts: 722 Join Date: 8/5/10 Recent Posts
You have to create hook. You will find portal-web\docroot\html\taglib\ui\input_asset_links\page.jsp in liferay's source code.

Have a look at Customizing JSPs by Extending the Original for more details.