UI Designer

BDM API: how to add a filter with multiple values (OR) to the external API variable

I have an external API variable in my form which returns the count of an entity created by a particular user with one specific value for a specific attribute (tipo).

../API/bdm/businessData/com.company.model.Request?q=sumForFindByCreadorAndTipo&p=0&c=10&f=creador={{session.user_id}}&f=tipo=Nuevo%20Carnet

i need this variable to return the count this entity with any of 2 specific values for this attribute (i need to add an OR clause in the URL and dont know how to do it).

"Child" Table Widget fails to render the content of an array

I've been following a vacation example to implement a living app page with the following UI using Community Edition (v. 7.5.4):
- there is a top-level table with main contents
- when user clicks on the top-level table row and selects it, the row details are rendered in a separate container.

UI Designer Fragment in Community Edition ?

Hi,

is there any plan (chance) that the fragment feature of UI Designer in Subscription Edition will be available in Community Edition ?

Currently, to me, this is probably the most useful feature "missing" in Community Edition.

If no plan, is there any good practice (trick) to save time when we must propagate a change in a part of a form (or page) that is common to a lot of forms ?

In advance, thanks for your response and advice.

Best regards,

Walter

How to use Java Objects with UI Designer

I have a very simple Java class with two Integer variables and their getters and setters.
Nothing special. My goal is a Set Data task to take two numbers for a and b (from the form) and the next task Get Data to print in the form, using class functions. I want this through setters and getters. I just cannot find an example with newer Bonita versions (in the previous versions was too easy to do something like that) about Java objects and UI Designer.

In the end, I just desperately need a tutorial about java objects + ui designer and there isn't one for newer version.

How to set the Select widget Initial value from BDM object

I want to use business data to set the initial value of Select widget.

I will explain what I would like to achieve.
In the previous task, I get the value of the Select from user and set this data in business data object, and then use this value for the Select widget's initial value in the next task, so the user does not have to select, but still be able to change the value of select if it is necessary (the actor groups in this 2 tasks are different, so this 2 user should be different person).

Is it possible to update a record in BDM by UI Designer?

I am displaying in a table in the UI Designer the information from my BDM, and I would like when changing the BDM information by UI Designer that same information would be changed in BDM too, is it possible? If so, how can I do this?

Link para Image

The image shows how my UI Designer is currently

How to display BDM in table

I need to display the records that are in my BDM in UI Designer, so far I have only been able to display what is in my process variable, through the following code:
../API/bpm/caseVariable/{{task.caseId}}/listaTransportadoras

However I need to display my BDM records in a table in the UI Designer, how can I do this?

I tried to create an API like this:

../{{context.transportadoras_ref.link}}

And I called the attributes of my BDM like this:

retorno.status

How to display BDM records in UI Designer?

I need to display the records that are in my BDM in UI Designer, so far I have only been able to display what is in my process variable, through the following code:

../API/bpm/caseVariable/{{task.caseId}}/listaTransportadoras

However I need to display my BDM records in a table in the UI Designer, how can I do this?

I tried to create an API like this:

../{{context.transportadoras_ref.link}}

And I called the attributes of my BDM like this:

retorno.status

Is there a way to add 'id' attributes to the form elements in the UI Designer?

I need to know if there is a way to add ids to form elements in the UI designer.
In the 6.5 forms I was able to add my own ids to elements using the General Tab> options > HTML attributes feature on the widgets.

Problemas al mostrar un Widget personalizado con una tabla, no muestra valores

Hola a todos,
Soy nuevo en Bonita 7.2, y estoy topando con problemas para mostrar los valores obtenidos en un Widget de tabla personalizada desde base de datos MySql, cualquier ayuda será agradecida.

Notifications