コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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 受け入れられたソリューション

Avatar

正解者
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

AEM LinksLinkedIn

元の投稿で解決策を見る

2 返信

Avatar

正解者
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

AEM LinksLinkedIn

Avatar

Level 10

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