掲示板

Assign Tags and Categories to Documents using Liferay API

thumbnail
10年前 に SaiMohan Gadamsetty によって更新されました。

Assign Tags and Categories to Documents using Liferay API

Junior Member 投稿: 92 参加年月日: 13/02/06 最新の投稿
Hi All,

I've a requirement to upload bulk directories and associated documents to Document and Media portlet. I can able add directories and documents to Document and Media portlet using Liferay API but I'm not able to find the way to assign Tags and Categories to Documents.

Can any one please help me the way to solve this problem. I'm using Liferay 6.1.1 version with MySql database.


Thanks,

Sai Mohan
10年前 に Arun Kumar S によって更新されました。

RE: Assign Tags and Categories to Documents using Liferay API

Regular Member 投稿: 182 参加年月日: 08/06/23 最新の投稿
Hi SaiMohan,

Please refer the below API updateAsset method to assign Tags and categories.

http://svn.liferay.com/repos/public/portal/tags/6.1.1/portal-impl/src/com/liferay/portlet/documentlibrary/service/impl/DLAppHelperLocalServiceImpl.java



Hope this Helps,
Thanks,
Arun
Blog
thumbnail
10年前 に SaiMohan Gadamsetty によって更新されました。

RE: Assign Tags and Categories to Documents using Liferay API

Junior Member 投稿: 92 参加年月日: 13/02/06 最新の投稿
Hi Arun,

Thanks allot for your quick response, your suggestion worked out to me and its working like a charm.....


Thanks,

Sai Mohan
9年前 に Stephen Regenscheit によって更新されました。

RE: Assign Tags and Categories to Documents using Liferay API

New Member 投稿: 6 参加年月日: 14/06/11 最新の投稿
SaiMohan Gadamsetty:
Hi All,

I've a requirement to upload bulk directories and associated documents to Document and Media portlet. I can able add directories and documents to Document and Media portlet using Liferay API but I'm not able to find the way to assign Tags and Categories to Documents.

Can any one please help me the way to solve this problem. I'm using Liferay 6.1.1 version with MySql database.


Thanks,

Sai Mohan


Hey i need to set up folders etc in a D&M when it is instanciated so that i have a fixed folder structur. i dont know how to hook into the D&M Where to start and which services to use etc. can you help me ?