Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

OSGI Configuration || R6 annotations

Avatar

Level 2

Can we have a multifield property in OSGi. For e.g.

I have 2 properties A and B. And when i click on Plus i gotta configure both A and B.(Something similar that we do in AEM dialog multifield property).

So basically my A and b property are related so i want to configure different combinations of A and B.

#Note- I can achieve this using factory configs. Is there i can achieve this without using factory configs.

Thanks

Anupam

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

R6 annotations allowed only few types defined at https://osgi.org/javadoc/r6/cmpn/org/osgi/service/metatype/annotations/AttributeType.html

and there is no way to create multifield property like dialog but for single option multiple properties can be created.

Using OSGi annotations (>= AEM6.2) - Experience Delivers



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

R6 annotations allowed only few types defined at https://osgi.org/javadoc/r6/cmpn/org/osgi/service/metatype/annotations/AttributeType.html

and there is no way to create multifield property like dialog but for single option multiple properties can be created.

Using OSGi annotations (>= AEM6.2) - Experience Delivers



Arun Patidar

Avatar

Level 10

As Arun states - there is no way to define a multifield property on DS OSGi.