Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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

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

Avatar

Level 10

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