从 cq:page AEM 6.3.0 获取 jcr:created

Fetch jcr:created from cq:page AEM 6.3.0

我们需要获取 cq:Page (TestTouchRTE) 的 jcr:created 日期。

enter image description here

我正在使用

<c:set var="createdDate" value="${pageProperties['jcr:created']}"/>

这是 jcr:content 创建日期,即 cq:PageContent

,相反,我想要 cq:Page 的 jcr:created 日期。

谢谢

您可以像这样从页面属性中获取它:

${ 'yyyy-MM-dd' @format=pageProperties.jcr:created}