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
November 24, 2015

       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"]

edubey
New Participant
November 24, 2015

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/