Fórum

Publish web content staging to live

thumbnail
kartik shiroya, modificado 8 Anos atrás.

Publish web content staging to live

Junior Member Postagens: 47 Data de Entrada: 29/12/14 Postagens Recentes
Hello Everyone

I am working customization of staging to live publication process,
so i am looking for how liferay code is working when web content will publish from staging to live.

My requirement is i modified any number of web content but i want to publish on some selected web content
I have web content ids (journalArtical primary key) which are selected by user and date for schedule web content.

which liferay API i can use to publish selected web content .


Thanks and Regards
Kartik Shiroya.
thumbnail
Olaf Kock, modificado 8 Anos atrás.

RE: Publish web content staging to live

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
This is a small and innocent question with a potentially huge answer - I doubt that you'll get a good answer here. And I also think that the inner workings of staging are not well documented other than through hopefully readable source code. Your best chance would probably to see if you can meet one of the staging team's members at one of our events. Or get the basic information from Radio Liferay and start to explore the source code from there.
Brijesh Desai, modificado 8 Anos atrás.

RE: Publish web content staging to live

Junior Member Postagens: 55 Data de Entrada: 22/10/14 Postagens Recentes
Hello,

We are also in need to achieve same,

During our debugging of liferay source code classes,
We got some idea this might be achieved by,

StagingLocalServiceUtil.publishStagingRequest(long userId,
long stagingRequestId, boolean privateLayout,
java.util.Map<java.lang.String, java.lang.String[]> parameterMap)

here I am trying to understand what value has to be passed long stagingRequestId ?

or might be following method can work,

LayoutLocalServiceUtil.importLayouts(long userId, long groupId,
boolean privateLayout,
java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
byte[] bytes)

Any idea what apis we can use here ?

Regards,
Brijesh
thumbnail
srikanth a, modificado 8 Anos atrás.

RE: Publish web content staging to live

Regular Member Postagens: 144 Data de Entrada: 21/02/11 Postagens Recentes
I am looking for similar kind of requirements. Any pointer would greatly appreciated.

regards
Sri
Antonio Saginario, modificado 7 Anos atrás.

RE: Publish web content staging to live

New Member Postagens: 4 Data de Entrada: 18/03/13 Postagens Recentes
Olaf Kock:
This is a small and innocent question with a potentially huge answer - I doubt that you'll get a good answer here. And I also think that the inner workings of staging are not well documented other than through hopefully readable source code. Your best chance would probably to see if you can meet one of the staging team's members at one of our events. Or get the basic information from Radio Liferay and start to explore the source code from there.


Hi Olaf,
sorry for this stupid consideration but I was expecting a staging web content management similar to that of the pages (say like "page variations")
I need to manage different editorial teams and actually it's impossible to choose which team's contents I would like to publish

Best regards