How can you access properties from an OSGi configuration in a WCMUse class in AEM 6.1?

1 Answers
Answered by suresh

Sure, here is an SEO-friendly HTML answer for your question:

```html

How to Access OSGi Configuration Properties in WCMUse class in AEM 6.1

How to Access OSGi Configuration Properties in WCMUse class in AEM 6.1

In Adobe Experience Manager 6.1, you can access properties from an OSGi configuration in a WCMUse class by following these steps:

  1. Inject the ConfigurationAdmin service in the WCMUse class.
  2. Get the OSGi configuration using the ConfigurationAdmin service.
  3. Access the properties of the OSGi configuration using the Configuration object.

This allows you to dynamically access and use configuration properties within your WCMUse class in AEM 6.1.

```

This HTML snippet provides a clear and concise explanation of how to access OSGi configuration properties in a WCMUse class in Adobe Experience Manager 6.1. It includes relevant keywords for SEO purposes and offers valuable content for readers looking to understand this topic.

Answer for Question: How can you access properties from an OSGi configuration in a WCMUse class in AEM 6.1?