Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Lirone75 M.
exporting/importing categories [SOLVED]
May 30, 2011 12:05 PM
Answer

Lirone75 M.

Rank: Regular Member

Posts: 235

Join Date: March 19, 2007

Recent Posts

Hello,

I'd like to enter once many categories (item categories of the control panel of course) and to export them once to import them later in the production environement.

Is it possible to do this ?

Thanks for your response.
venky r
RE: exporting/importing categories
May 17, 2011 10:46 PM
Answer

venky r

Rank: Junior Member

Posts: 52

Join Date: July 25, 2009

Recent Posts

Lirone75 M.:
Hello,

I'd like to enter once many categories (item categories of the control panel of course) and to export them once to import them later in the production environement.

Is it possible to do this ?

Thanks for your response.



You can export and import categories. Go to manage pages in that click on export and import you can find export categories.
Lirone75 M.
RE: exporting/importing categories
May 18, 2011 5:02 AM
Answer

Lirone75 M.

Rank: Regular Member

Posts: 235

Join Date: March 19, 2007

Recent Posts

venky racha:
You can export and import categories. Go to manage pages in that click on export and import you can find export categories.



Hello,

that doesn't fit my need, because I don't want a lar with exported layouts, portlets (necessarily exported) and categories, I only want categories.
In the export/import ui's, 'layout' is preselected, are disabled, so cannot be deselected.

So when I will import the lar, the "test" pages will also be created in the production environnement and I don't want this.

Same things for portlets, that are necessarily exported.

Do I have to set a pre production environnement that is in fact just an empty production environnement just to be able to export categories ?

Why would liferay be designed this way ?
Why exporting just categories not possible ?
I only want categories. Is my question, my understanding of liferay incorrect ?
Lirone75 M.
RE: exporting/importing categories
May 30, 2011 12:05 PM
Answer

Lirone75 M.

Rank: Regular Member

Posts: 235

Join Date: March 19, 2007

Recent Posts

I'll initialize categories in a hook at starting up of the server.
Samir Gami
RE: exporting/importing categories
October 3, 2012 6:41 AM
Answer

Samir Gami

Rank: Regular Member

Posts: 162

Join Date: February 3, 2011

Recent Posts

Hi Lirone,
We have same requirement, do you have any utility to export/import only categories ?
Djordje Karanovic
RE: exporting/importing categories
October 12, 2012 2:46 AM
Answer

Djordje Karanovic

Rank: New Member

Posts: 4

Join Date: October 6, 2011

Recent Posts

Lirone75 M.:
I'll initialize categories in a hook at starting up of the server.


Can you send me that hook on email: djordjek@hotmail.com, I would be very thankful!!!
Regards!
Enrique Valdes Lacasa
RE: exporting/importing categories [SOLVED]
October 7, 2015 2:02 PM
Answer

Enrique Valdes Lacasa

Rank: Junior Member

Posts: 69

Join Date: July 29, 2014

Recent Posts

Hello guys.

Thanks a lot for all the insights about exporting and importing categories: great ideas. This thread seems old, and I am not sure if any of you are still active... but if I could get that hook for creating categories in startup as well, that would be GREAT. You can send it at evaldes183@gmail.com. If you have it in a github repo where we can contribute, I could help out in there. For now, I will have a quick look in the Liferay Marketplace and see if I find something similar. I would love if someone that went through the same could save me the time in this.

If anyone has other suggestions to do this in current Liferay 6.2, they will be welcome.

Have a good day!
Enrique