<?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>Adding default web content when new page or layout created</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111233545" />
  <subtitle>Adding default web content when new page or layout created</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111233545</id>
  <updated>2026-04-03T20:54:19Z</updated>
  <dc:date>2026-04-03T20:54:19Z</dc:date>
  <entry>
    <title>RE: Adding default web content when new page or layout created</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111234557" />
    <author>
      <name>jitendra shahi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111234557</id>
    <updated>2018-10-18T12:50:55Z</updated>
    <published>2018-10-18T12:50:55Z</published>
    <summary type="html">Thanks sandip. I got your point.</summary>
    <dc:creator>jitendra shahi</dc:creator>
    <dc:date>2018-10-18T12:50:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Adding default web content when new page or layout created</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111234229" />
    <author>
      <name>Sandeep Nair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111234229</id>
    <updated>2018-10-18T12:42:15Z</updated>
    <published>2018-10-18T12:42:15Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;You can create page template and add the webcontent there and then use the api to create page but make sure to use the page template id (I believe its called LayoutPrototype)&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;​​​​​​​Sandeep</summary>
    <dc:creator>Sandeep Nair</dc:creator>
    <dc:date>2018-10-18T12:42:15Z</dc:date>
  </entry>
  <entry>
    <title>Adding default web content when new page or layout created</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111233544" />
    <author>
      <name>jitendra shahi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111233544</id>
    <updated>2018-10-18T10:53:17Z</updated>
    <published>2018-10-18T10:53:17Z</published>
    <summary type="html">Hi All,&lt;br /&gt;&lt;br /&gt;I am creating layout or page which is private using json API for every new site. Now I want to add web content display ( same in every page) on that page. Can I do it with API or is there any way of doing that please suggest. I am using liferay 6.2 ga 6.&lt;br /&gt;&lt;br /&gt;​​​​​​​Thanks in advance</summary>
    <dc:creator>jitendra shahi</dc:creator>
    <dc:date>2018-10-18T10:53:17Z</dc:date>
  </entry>
</feed>
