Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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.