<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to enable staging on Liferay 7.2 porgrammatically ?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118568222" />
  <subtitle>How to enable staging on Liferay 7.2 porgrammatically ?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118568222</id>
  <updated>2026-04-04T20:54:42Z</updated>
  <dc:date>2026-04-04T20:54:42Z</dc:date>
  <entry>
    <title>RE: How to enable staging on Liferay 7.2 porgrammatically ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118568644" />
    <author>
      <name>Rajesh Chaurasia</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118568644</id>
    <updated>2020-02-22T12:33:14Z</updated>
    <published>2020-02-22T12:33:14Z</published>
    <summary type="html">Thanks Mohammed , i will try the fix suggested by you and update this post </summary>
    <dc:creator>Rajesh Chaurasia</dc:creator>
    <dc:date>2020-02-22T12:33:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to enable staging on Liferay 7.2 porgrammatically ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118570694" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118570694</id>
    <updated>2020-02-22T12:30:31Z</updated>
    <published>2020-02-22T12:30:31Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi ,&lt;br&gt;You can try&amp;nbsp;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;amp;nbsp;StagingLocalServiceUtil.enableLocalStaging(userId, liveGroup, branchingPublic, branchingPrivate, serviceContext);&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2020-02-22T12:30:31Z</dc:date>
  </entry>
  <entry>
    <title>How to enable staging on Liferay 7.2 porgrammatically ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118568221" />
    <author>
      <name>Rajesh Chaurasia</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118568221</id>
    <updated>2020-02-22T08:26:27Z</updated>
    <published>2020-02-22T08:26:27Z</published>
    <summary type="html">Hi All,I wanted to know how to enable staging in Liferay 7.2 , which we could do in  Liferay 6.x using below statement-StagingUtil.enableLocalStaging(userId, group, group, false, false, serviceContext);</summary>
    <dc:creator>Rajesh Chaurasia</dc:creator>
    <dc:date>2020-02-22T08:26:27Z</dc:date>
  </entry>
</feed>
