Why do you want to read sling:OsgiConfig values inside OCD?OCD is used to declare the OSGi config structure. You can declare OCD the same as config values but in the end, the value will be read from the defined value in repository. Examplehttps://github.com/arunpatidar02/aem63app-repo/blob/master/ja...