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

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

Notifications