<?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>Manage site hierarchy in asset publisher</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121785562" />
  <subtitle>Manage site hierarchy in asset publisher</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121785562</id>
  <updated>2026-04-17T14:53:40Z</updated>
  <dc:date>2026-04-17T14:53:40Z</dc:date>
  <entry>
    <title>RE: Manage site hierarchy in asset publisher</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121789604" />
    <author>
      <name>Jamie Sammons</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121789604</id>
    <updated>2023-05-15T16:02:26Z</updated>
    <published>2023-05-15T16:02:25Z</published>
    <summary type="html">&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;Thank you for the contribution! &lt;/p&gt;
&lt;p&gt;I have created the following ticket in Jira: &lt;a href="https://issues.liferay.com/browse/LPS-184578"&gt;https://issues.liferay.com/browse/LPS-184578&lt;/a&gt;&lt;/p&gt;</summary>
    <dc:creator>Jamie Sammons</dc:creator>
    <dc:date>2023-05-15T16:02:25Z</dc:date>
  </entry>
  <entry>
    <title>Manage site hierarchy in asset publisher</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121785561" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121785561</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2023-05-13T14:46:40Z</published>
    <summary type="html">&lt;p&gt;My client is an organization in several countries. For each country
  there are differents organizations and brands. &lt;/p&gt;
&lt;p&gt;All this is managed very well with Liferay using a hierarchy of sites. &lt;/p&gt;
&lt;p&gt;All of these sites inherit from a single site template. &lt;/p&gt;
&lt;p&gt;My client would like to distribute content on several sites at the
  same time while respecting this hierarchy.&lt;/p&gt;
&lt;p&gt;The idea is therefore to use an asset publisher that would search on
  the current site, then the parent site and its parent... up to its
  country and finally the global site if it is a global communication. &lt;/p&gt;
&lt;p&gt;For the creation of web content, it's simple, you just have to create
  it on the global site or the site of the country or the site of the
  organization... but then let's imagine that we have 300 sites, you
  have to configure the 300 asset publisher manually and the modified
  page of the site will be dissociated from the site template whereas we
  would have liked to configure only the asset publisher of the site
  template by checking a checkbox indicating that the search must be
  recursive on the parent sites.&lt;/p&gt;
&lt;p&gt;I think it's not very complex to modify the asset publisher and it
  would be so convenient.&lt;/p&gt;
&lt;p&gt;To do this, adding a simple boolean on the asset publisher jsp and
  then do a small recursive loop to search the current site and its
  parent sites in the service will do the job.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2023-05-13T14:46:40Z</dc:date>
  </entry>
</feed>
