Toggle OSGI Config Fields | Community
Skip to main content
karansheel
Level 3
October 22, 2018
Solved

Toggle OSGI Config Fields

  • October 22, 2018
  • 1 reply
  • 1297 views

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 ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

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

1 reply

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
October 22, 2018

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