<?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>Is there any difference between sitegroupId and scopegroupId ?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110675742" />
  <subtitle>Is there any difference between sitegroupId and scopegroupId ?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110675742</id>
  <updated>2026-04-04T07:26:51Z</updated>
  <dc:date>2026-04-04T07:26:51Z</dc:date>
  <entry>
    <title>RE: Is there any difference between sitegroupId and scopegroupId ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110685288" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110685288</id>
    <updated>2018-08-10T22:31:17Z</updated>
    <published>2018-08-10T22:31:17Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Abhishek Jain:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;I want to know that whether there is any difference between
        siteGroupId and scopeGroupId returned by themeDisplay
        object..Can they be different in any case?&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;There is only a difference for portlets that are &lt;a
  href="https://docs.liferay.com/portal/6.2/definitions/liferay-portlet-app_6_2_0.dtd.html#scopeable"&gt;scopeable&lt;/a&gt;,
  where they can be any of the scopes listed in that documentation. A
  popular selection other than the default is &amp;quot;Global&amp;quot;, which
  at the Liferay code level is treated as a community/site to hold data.&lt;/p&gt;
&lt;p&gt;Usually they're the same unless someone specifically uses the portlet
  configuration UI and sets them to be different, though there have been
  cases of bugs where the scope for one portlet doesn't get reset and
  bleeds into other portlets on the page (such as &lt;a href="https://issues.liferay.com/browse/LPS-78980"&gt;LPS-78980&lt;/a&gt;).&lt;/p&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-08-10T22:31:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Is there any difference between sitegroupId and scopegroupId ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110676455" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110676455</id>
    <updated>2018-08-08T07:58:51Z</updated>
    <published>2018-08-08T07:58:51Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Abhishek Jain:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;I want to know that whether there is any difference between
        siteGroupId and scopeGroupId returned by themeDisplay
        object..Can they be different in any case?&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;A wild but educated guess: While the scoping by site is very common,
  you can also create a &amp;quot;subscope&amp;quot; by page. I've rarely seen
  this in the wild, but it exists. If you're not using this feature,
  they'll probably be the same each time. But if you use subscopes, they
  might be different.&lt;/p&gt;
&lt;p&gt;Check this, for example, by dropping a Message Board portlet on any
  page, go to its configuration and choose the page name as scope. Then
  drop the same portlet on another page: They'll have different content,
  because they're stored in a different scope (but in the same site).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2018-08-08T07:58:51Z</dc:date>
  </entry>
  <entry>
    <title>Is there any difference between sitegroupId and scopegroupId ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110675741" />
    <author>
      <name>Abhishek Jain</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110675741</id>
    <updated>2018-08-08T06:29:50Z</updated>
    <published>2018-08-08T06:29:50Z</published>
    <summary type="html">&lt;p&gt;I want to know that whether there is any difference between
  siteGroupId and scopeGroupId returned by themeDisplay object..Can they
  be different in any case? Please help me ..thanks in advance..&lt;/p&gt;</summary>
    <dc:creator>Abhishek Jain</dc:creator>
    <dc:date>2018-08-08T06:29:50Z</dc:date>
  </entry>
</feed>
