Anon
Anon

Reputation: 548

How to get all tags associated with a content?

I have some content in Liferay that is populated by front-end users, who can add some tags.

How can I get that tags associated with that content from back-end to do some stuff?

Upvotes: 0

Views: 690

Answers (1)

Pankaj Kathiriya
Pankaj Kathiriya

Reputation: 4210

You could use below method to get asset tags associated with content. className would be of JournalArticle and classPK will be primarykey of content(journal article). AssetTagLocalServiceUtil.getTags( java.lang.String className, long classPK)

Upvotes: 1

Related Questions