留言板

Publish web content staging to live

thumbnail
kartik shiroya,修改在8 年前。

Publish web content staging to live

Junior Member 帖子: 47 加入日期: 14-12-29 最近的帖子
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,修改在8 年前。

RE: Publish web content staging to live

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
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,修改在8 年前。

RE: Publish web content staging to live

Junior Member 帖子: 55 加入日期: 14-10-22 最近的帖子
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,修改在8 年前。

RE: Publish web content staging to live

Regular Member 帖子: 144 加入日期: 11-2-21 最近的帖子
I am looking for similar kind of requirements. Any pointer would greatly appreciated.

regards
Sri
Antonio Saginario,修改在7 年前。

RE: Publish web content staging to live

New Member 帖子: 4 加入日期: 13-3-18 最近的帖子
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