I created an event listener with "PageCreateEvent" or "PageCreateFromTemplateEvent," and I want to get the name or ID value of the template that the user created using.
This is because if a particular template is used, additional work is desired.
When creating a page, can you tell me a simple script to get the name or ID of the template used in the current page?