Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tech Box
Portlet access WCM dataset
April 24, 2013 5:39 PM
Answer

Tech Box

Rank: New Member

Posts: 18

Join Date: February 5, 2013

Recent Posts

I'm using Liferay version 611 and mysql.
I try to make use of WCM to create data definition and Dynamic Data List for data input. Instead of using either DDL detail or list template to present data, I like to develop a porltet, jsp with Alloy UI to present the data captured in WCM data definition. The point is that how do I know the data strucutre captured in WCM data defintion via using java sql statement ? Does any existing Lifeay JAVA service API to access data record captured withn WCM.
Tech Box
RE: Portlet access WCM dataset
April 25, 2013 8:26 PM
Answer

Tech Box

Rank: New Member

Posts: 18

Join Date: February 5, 2013

Recent Posts

Anyone can help on this ??emoticon
Jeffrey Handa
RE: Portlet access WCM dataset
April 26, 2013 5:57 AM
Answer

Jeffrey Handa

LIFERAY STAFF

Rank: Liferay Master

Posts: 501

Join Date: December 1, 2008

Recent Posts

You should definitely try to access your web content data using LIferay services and not go straight to the database using SQL statements.

Liferay's WCM used to be called Liferay Journal so the API still reflects the older names so in your java code you can use the JournalArticleLocalServiceUtil to get to a JournalArticle.
Tech Box
RE: Portlet access WCM dataset
April 27, 2013 10:25 PM
Answer

Tech Box

Rank: New Member

Posts: 18

Join Date: February 5, 2013

Recent Posts

Thank, and I tried it and make it work.