Hello, I noticed a strange behavior when editing a Page template in PnE 2021.3. 1. I would like to prepare a template with the page background. One of the template elements will be a menu with links to other visualization pages. 2. I am creating page in HMI Webserver section. I am adding elements with dynamic Action on Click > Load Page. 3. I click „Create HMI Page Template“ and as a result in the Components section I have a ready Page Template, which I can use as a background for other pages in my project. 4. Now if I want to edit any element of my menu, errors occur. I understand that this is due to the fact that I am editing an item in the Components section that „does not know“ what pages are available in my project. [attachment]err01.jpg[/attachment] Similarly, when I try to add a new object to the Template with action on click > Load Page, a lot of entries appear in the Error List:. [attachment]err02.jpg[/attachment] I think there should be some way to prepare this kind of menu in page template. Maybe there is a different way to implement such elements?
Hi Konrad, I hope it’s OK that I branched this question to a separate thread.
HI Konrad, Unfortunately this feature is currently not supported. This can also be seen if you create an empty template, and try to use the “Load page” dynamic. The requirement to use “Load page” action in templates is noted, and planned for a future version of PLCnext Engineer. Today the only solution is – when you create the instance for the template, you can use the “Load page” button and assign all necessary pages. Then you can create the template from it. If you need changes afterwards, you have to make the changes in the instance (left side), create a new template from it, and assign the new template to all pages which should use it. Warning: Don’t choose the same name for the new template, because the system is based on UUID’s and not on names. (ref: #212233)
[quote]the system is based on UUID’s and not on names[/quote] So that’s why when copying buttons with „Load Page“ actions between instances the link is broken? It would be nice if the button could recognize the page based on name instead.