Friday 11 April 2014

Delete page in staging in liferay

Hi All Lifeay folks,

Today i am writing about How to delete page in staging environment in Liferay. Staging is good functionality given by Liferay to view page before publish to live. We create page on staging site and make it publish to live. we can modify our page content in staging site and it will not reflected to live page until we will publish it.

In some scenario we want to delete live page then what to do ?? Here are some basic steps.

Step-1  : Navigate to your staging page (ex.. /web/guest-staging/pagename) then hover on Staging in doc bar and then click to Publish to  Live.
Step-2: It will open one dialog box as below image.



Step-3: Click on Publish Button and it will delete your live page.
Step-4: Delete your staging page from control panel as normal way.

This the strait forward way to Delete staging and live page. but sometime we directly delete page from control panel at that time we can not delete live page above way.

So I am giving you some below steps for delete live page in staging environment  when we have delete staging page from control panel.

Step-1 : Go to Control panel and navigate to staging site.
Step-2 :  Click on "Copy From Live" button.


Step-3 : It will open one dialog box and click on "Change Selection" button.
Step-4: It will list all pages with check box. check page name which we want to copy from live.





Step-5:  Click on "Publish" button. It will  copy live page to  staging page(which was deleted).

Step-6:  Now if you want to delete live page then follow above Steps 1,2,3 starting of this blog.


Thats ALL !!!!!

Keep Playing with Liferay..

Regards,
Sandip Patel
+91 9510645454