Legacy Knowledge Base
Published Jul. 2, 2025

How to change the default Template for a Structure

Written By

Phil Chapman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When creating Web Content from a Structure, the default Template applied is the most recently created one for that structure. How can I assign a different template?

Environment

  • DXP 7.2   DXP 7.1   DXP 7.0

Resolution

The default Template can be changed.

:: Example scenario. We have a Structure "MyStructure" which has 3 associated Templates ::

MyStructure
MyTemplate1
MyTemplate2
MyTemplate3

As MyTemplate3 is the newest, it is automatically assigned as the default when creating Web Content:

1.png


How to change the default


Locate the structure you wish to edit > click on the 3 dots > Select: Edit Default Values

2.png

(This opens up Structure Default Values)

Scroll down to the 'Structure and Template' accordion > Press Select [button] > Now select the Template required as the default > Press Save [button]

Here MyTemplate1 was assigned as the new default...

3.png

Moreover, if you select MyTemplate1 then go on to create MyTemplate4MyTemplate1 will remain as the default.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base