“I have more than 30 pages already created that use Liferay’s default master page, and I needed to create a new one. Is there an option to make this change replicate to all of them automatically?”
Question came through Slack. Posted for a Community member in Brazil.
Hello @Anne_Durey,
Currently, there is no out-of-the-box method available for bulk updating the master page template for existing pages. However, this can be achieved through a custom script using this service: liferay-portal/portal-kernel/src/com/liferay/portal/kernel/service/LayoutLocalServiceUtil.java at master · liferay/liferay-portal · GitHub
Cheers!