OSGi multi field creation
Hi,
I have create one OSGi Configuration in that i have 3 Fields
I need 3rd Field as multifield how we can make Field as multifield in OSGI Configuration.
Hi,
I have create one OSGi Configuration in that i have 3 Fields
I need 3rd Field as multifield how we can make Field as multifield in OSGI Configuration.
Please refer to this OSGI R6 Configuration @AttributeDefinition Essentials Reference Guide, during the development of your OSGI configurations, https://sourcedcode.com/blog/aem/osgi-r6-configuration-attributedefinition-essentials-reference-guide#attribute-type-string-array
This will allow you to quickly craft together your OSGI configs in no time.
Something like this would initiate a String[]
@AttributeDefinition(
name = "String[] Label",
description = "String[] Config Example Description",
type = AttributeType.STRING)
String[] config_string_array_example() default {"item1", "item2"};
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.