Expand my Community achievements bar.

SOLVED

Toggle OSGI Config Fields

Avatar

Level 3

Is there any OOTB config or any way through which we can toggle OSGI configuration field just like we do in touch UI. My requirement is i want to create a osgi config in which on click of a checkbox i want to display some fields. Is there any way to achieve this ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dear Karansheel,

OSGi configuration is not as configurable as Touch UI.

It does not have option to introduce logic based on your needs, it's a simple xml markup, that's limited to only simple UI Elements.

For complete docs of what's possible as per specs have look here[0] and here for specifics of what's possible in Apache Felix[1]

[0] https://osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html 

[1] felix/config.js at trunk · apache/felix · GitHub 

Regards,

Peter

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Dear Karansheel,

OSGi configuration is not as configurable as Touch UI.

It does not have option to introduce logic based on your needs, it's a simple xml markup, that's limited to only simple UI Elements.

For complete docs of what's possible as per specs have look here[0] and here for specifics of what's possible in Apache Felix[1]

[0] https://osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html 

[1] felix/config.js at trunk · apache/felix · GitHub 

Regards,

Peter