Determine widget data
Hi, I'm looking to build a form from data pulled from the Bonita Java API 6.2, But I can't seem to find a way of getting information such as the options of a select box, or even know whether a field is a select box, or an editable grid for example. is there any way of getting this information ? Because knowing the java class of a field just isn't enough. Thanks in advance :)
Currently, here is no API available to retrieve the data of the forms designed in the studio. A forms.xml is exported in the business archive of your process (.bar) and is used in the web forms module of the portal. So if you don't want to use bonita portal's forms I guess you can read this forms.xml in order to generate your own forms. But be aware that the structure of this XML file may change from one version to another.
Hi, unfortunately this is the path we need to take, and we realise the risks of such a method, so we're doing our best to make it modular and maintainable. Thanks for the answer though :)