<?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>Versioning for Structures, Template and ADT( Application Display Templates)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119759633" />
  <subtitle>Versioning for Structures, Template and ADT( Application Display Templates)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119759633</id>
  <updated>2026-04-04T07:55:47Z</updated>
  <dc:date>2026-04-04T07:55:47Z</dc:date>
  <entry>
    <title>RE: Versioning for Structures, Template and ADT( Application Display Templa</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119794327" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119794327</id>
    <updated>2020-08-18T18:55:49Z</updated>
    <published>2020-08-18T18:55:49Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;You can access the webdav service with &lt;a href="https://yourserver/webdav/"&gt;https://yourserver/webdav/&lt;/a&gt;&lt;br&gt;I have published a little tool a few years ago that syncs structures and templates to the file system:&lt;br&gt;&lt;a href="https://github.com/dccs-liferay/devcon/tree/master/WebdavSync"&gt;https://github.com/dccs-liferay/devcon/tree/master/WebdavSync&lt;/a&gt;&lt;br&gt;The tool should support the upload too, but I didn't use it for quite a while.&lt;br&gt;&lt;br&gt;As I said, we currently do it the other way round.&lt;br&gt;a) Create a template or ADT in Liferay through the frontent.&lt;br&gt;b) Add a line like this:&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;amp;lt;#include "dccs-templates-bundle_SERVLET_CONTEXT_/global/application_display_template/templates/NewUsersTable.ftl" /&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;This loads a file "NewUsersTable.ftl" from a simple module dccs-templates-bundle.&lt;br&gt;c) Create a new module dccs-templates-bundle&lt;br&gt;d) Create a folder /global/application_display_template/templates&amp;nbsp; (or whatever you like, it just has to be the same as in the include statement)&lt;br&gt;e) Add NewUsersTable.ftl and write some code into it&lt;br&gt;f) deploy ...&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-08-18T18:55:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Versioning for Structures, Template and ADT( Application Display Templa</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119779515" />
    <author>
      <name>sree p</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119779515</id>
    <updated>2020-08-17T11:15:30Z</updated>
    <published>2020-08-17T11:15:30Z</published>
    <summary type="html">HI Chris, can you please let me how do i create/edit the templates through Liferay Dev Studio/Eclipse and deploy theme through DevOps process and test those templates  and also want to create/edit them in the Liferay frontend and then do version . finally let me know how to connect to webDAV</summary>
    <dc:creator>sree p</dc:creator>
    <dc:date>2020-08-17T11:15:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Versioning for Structures, Template and ADT( Application Display Templa</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119776545" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119776545</id>
    <updated>2020-08-17T09:41:07Z</updated>
    <published>2020-08-17T09:41:07Z</published>
    <summary type="html">Which details? I have mentioned several options and outlining them in detail would require me to write several pages.&lt;br /&gt;Do you want to edit the templates in an Eclipse (or some other editor) and deploy them or do you want to edit them in the Liferay frontend and then download them and version them?&lt;br /&gt;These are fundamentally different approaches, depending on your work.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-08-17T09:41:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Versioning for Structures, Template and ADT( Application Display Templa</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119770951" />
    <author>
      <name>sree p</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119770951</id>
    <updated>2020-08-17T01:09:25Z</updated>
    <published>2020-08-17T01:09:25Z</published>
    <summary type="html">Thanks Chris, I did not clear about your answer, could you please elaborate the details, I want versioning to Structures , Presentation templates and Widget Template, please let me know how can do that in Liferay DXP same as web content items.</summary>
    <dc:creator>sree p</dc:creator>
    <dc:date>2020-08-17T01:09:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Versioning for Structures, Template and ADT( Application Display Templa</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119763072" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119763072</id>
    <updated>2020-08-15T08:37:41Z</updated>
    <published>2020-08-15T08:37:41Z</published>
    <summary type="html">There is actually a history in the database for structures and templates, but there is no frontend for it. You could check the DDM* tables and you will find it there.&lt;br /&gt;We do it differently. A few years ago, we used Webdav to sync the the structures/templates to the filesystem and put them into git.&lt;br /&gt;&lt;a href="https://devcon.dccs.at/ideas-for-template-export"&gt;https://devcon.dccs.at/ideas-for-template-export&lt;/a&gt;&lt;br /&gt;Our next iteration was an extra rest api that allowed us to pull/push structures/templates.&lt;br /&gt;Our current code does it differently again. Structures and templates are created manually, since creation and changes to structures are rare. But templates are in git and deployed. But the templates just contain a single line:&lt;br /&gt;&amp;lt;#include &amp;#34;dccs-templates-bundle_SERVLET_CONTEXT_/global/application_display_template/templates/NewUsersTable.ftl&amp;#34; /&amp;gt;&lt;br /&gt;They load the template from our module with the include statement. It basically just needs the bundle name + _SERVLET_CONTEXT_ + the file path in the bundle to load it.&lt;br /&gt;For fragments Liferay does better. I wished, the same feature, to simply implement a fragment processor, was available for templates too.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-08-15T08:37:41Z</dc:date>
  </entry>
  <entry>
    <title>Versioning for Structures, Template and ADT( Application Display Templates)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119759632" />
    <author>
      <name>sree p</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119759632</id>
    <updated>2020-08-13T18:57:13Z</updated>
    <published>2020-08-13T18:57:13Z</published>
    <summary type="html">Hello,We are using Liferay DXP , can you please let me know what we can do to maintain versioning for Structures, Template , Widget Templates and ADT( Application Display Templates) same as Web Content .</summary>
    <dc:creator>sree p</dc:creator>
    <dc:date>2020-08-13T18:57:13Z</dc:date>
  </entry>
</feed>
