Message Boards

Create categories programmatically

P G, modified 7 Years ago.

Create categories programmatically

New Member Posts: 21 Join Date: 2/15/17 Recent Posts
Hi,

I have to add a few thousand of second-level categories. I have a root category called 'Products' and I need to add its sub-categories. Clearly this job is really cumbersome. Are there any programmatically ways to add them? For instance reading a csv file? I'm using Liferay 6.2 EE.
thumbnail
Devang Patel, modified 7 Years ago.

RE: Create categories programmatically

Regular Member Posts: 247 Join Date: 1/19/15 Recent Posts
Hi P G,

Yes.
You can add sub category programmatically.
Try with reading csv file.

Regards,
Devang Patel