Discussions

Ask a Question
Back to All

How to use data from other template

What are the steps to use the data from an existing template in a new template?

The idea here is that both templates would continue to use the same data source moving forward. One template would manage data for both templates.

Admin

Hi Will,

To use data from an existing template you have to create an other template file in the same folder.
For template folders without manifest, you need just to create a new template file in the folder.
For template folders with manifest, you need to declare the new template file in the manifest (like in articles temmplate for exemple).

Then to reuse de the data but a new Opencontent module on the page and chose Datasource from other module and chose de Page-Module and the new template file.

ο»Ώ