#Angular Js

when I populate a list in uiDesigner 1 value updates all values (EDITED)

Hello,

I'm trying to populate a list of users with their roles, this is the code:

$data.user = 0;

$data.listaTratada=[];

$data.grupo = "";

for( var i = 0; $data.listaUsuariosTotal.length >= i; i++){

$data.apiGetRoles = "../API/identity/membership?p=0&c=10&f=user_id="+$data.listaUsuariosTotal[i].id+"&d=role_id";

$data.listaTratada.unshift({"grupo":$data.RolesPorUsuario[0].role_id.name,

"usuario":$data.listaUsuariosTotal[i].firstname,

"id":$data.listaUsuariosTotal[i].id});

Select/Dropdown referencing in a repeated container

I have a repeated container based on the contract input.
Inside the container has 3 dropdown/select objects.
I created 3 variables, type : business data.
The problem is the filter the query value should come from the value of the other select/dropdown field (e.g. $item.region_id)
I tried something like this => {{formInput.OfficeRegion[$item.region_id]}} but it doesn't work.

How can i apply this in the repeated container?

How to Enable CORS in Bonita Studio

Hello
I am trying to build a Angular + Bonita Application.
When I try to POST from Angular App, I get the Access to XMLHttpRequest at 'http://localhost:8080/bonita/loginservice' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How to send file input to the BPMN process using <input> tag?

"<"input type="file" id="input" multiple">"

This is my input I need to send the file as a contract for the BPMN to store documents without using the default upload widget given by bonita

Thanks In advance

How to show message of custom validation?

Hi

I'm using Bonita Studio community version 7.8 and I'm newcomer in Angular js.

I add a new validation in a custom widget:

1. add module in "Required angular modules"

2. add js file in "Assets"

3. add attributes of module to my input

Now I wanna to show error message after input, But I don't know How do I do!

New validation works and show relevant class added to input.

How I add my message in ng-messages-include:

Integrating an Angular Module in a custom widget

Good morning, I just wanna know how to use Angular Module in a custom widget, is there any documentation or Tutorial (Other than custom widget part in the bonita documentation).

I need a live example how to build a custom widget, that shows how to integrate filters, directives ect..

Regards.

Notifications