CQ version | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

13 replies

monika_jayaram
New Participant
Nov 24, 2015 11:42 AM UTC

       I got the solution for this.

       We can get product information from the node "/libs/cq/core/productinfo"

       Example:      def productInfo = request.resourceResolver.getResource("/libs/cq/core/productinfo")?.adaptTo(ValueMap) ?: [:]

        String version = productInfo["shortVersion"]

Translate
edubey
Level 10
Nov 24, 2015 8:24 AM UTC

I am not sure whether is there any OOTB configuration.will check

But yes, this is something which does not change too often. May be once in a 2 year while you upgrade. You can store this any JCR node and access it.

Take a look @ adobeaemclub.com/how-to-find-out-aem-version-you-are-using/

Translate