Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Accessing page properties of a communities page(HBS based)

Avatar

Level 2

Hi Team,

I have a requirement to capture tags added on every page in a JS.

While I am able to do it via tags = "${properties.cq:tags @ context='scriptString'}"; fine for all non community pages(html based),

the values are not coming up for HBS based pages. Kindly guide me if there is a way to capture page properties of community pages.

Regards,

Abhishek

2 Replies

Avatar

Level 10

When you say Communities page - why is this different from a non communities page?

Avatar

Level 9

Hi Abhishek,

Out of the box communities template does not add tags to page. In head.jsp of template include to add the tags.

Thanks,