Page 1 of 1

Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance?

Posted: Thu Jul 21, 2022 9:08 pm
by answerhappygod
Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance?

A. Properties-get("cq:temp|ate"/-);
B. Page.getTemplate();
C. Page.getTemplate().getPath();
D. resource.getTemplate.getPath();