UI Designer

Sean McP's picture
Sean McP
1
0
-1
Status: 
Open

In UI Designer we are allowed to create Form/Page Variables, however for EVERY page we have to specify our variables.

My idea is to allow a new TAB called Global or Shared Variables where we can define a number of global/shared template variables that can be selected and included on a page.

Variables defined in the manner should have the same properties as when creating normal page variables, API, JSON, JavaScript etc.

This is similar to the idea of Custom Widgets where they are shared and can be dragged to the form.

Sean McP's picture
Sean McP
1
0
-1
Status: 
Open

The TABS Container in UI Designer is great, however it lacks one thing, the ability for TABS to be hidden until necessary.

So for example:

tab 1 - always shown
tab 2 - can be hidden
tab 3 - can be hidden
tab 4 - can be hidden

the logic of hiding tabs should be

1 always open, 2 can be hidden, 3 can be hidden, 4 can be hidden
1 always open, 2 can be opened, 3 can be hidden, 4 can be hidden
1 always open, 2 can be opened, 3 can be opened, 4 can be hidden
1 always open, 2 can be opened, 3 can be opened, 4 can be opened

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

apatil's picture
apatil
1
+1
-1
Status: 
Open

This would allow us to uniquely identify elements on the form and run front end unit tests, jquery scripts etc..

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