Reputation: 548
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
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