35
Views
10
Comments
Limitations in Bulk Update: Dropdowns Retain Values, Input Widgets Don't
Application Type
Reactive
Service Studio Version
11.54.13 (Build 62526)
Platform Version
11.21.0 (Build 39357)

Greetings Outsystems Community, 

When performing bulk updates, I am facing some difficulties in retrieving values from input widgets. While values selected from dropdown menus can be easily retrieved, any values manually entered into input widgets are not retained. 

In the screenshots above, I have entered values manually in the input widget ("Description"). However, when I click update, all the dropdown values are updated except the values entered manually in the "Description" field. You can refer to the screenshot below to see the result after onclick "Update".

The values entered in "Description" input widgets are not retrieved. How can I retrieve the values entered manually in the input widget and display it later on as shown in the screenshot above? 

I have also shared .oml file.

Your help and advice is much appreciated!

Thank you,

Harvin

 

DropDown (2).oml
2024-12-02 12-15-17
Aravind EONE

Hi @Harvin Raj ,

Try to assign the changed values before sending it directly to update from an aggregate. 


I hope this will solve your issue.

UserImage.jpg
Harvin Raj

Hi @aravind mani ,


Thank you for your time. But the solution you have given doesn't work for me. I am still not able to retrieve the value entered manually from input widget.

2025-02-01 08-24-49
Sathish Karunakaran

Hi Harvin,


1. Your student Event throws two values as per defined,

2. In Screen Event Handler for student event, having 5 Input Param, it will throw only two values. refer below image.

3. So for the table, Chair, and Description only return default null value. it's the reason for the empty value on the description.


5. Change your logic, Like this, It will work. But you need to enhance for requirement further.


UserImage.jpg
Harvin Raj

Hello @Sathish Karanakaran,


I have implemented your idea. But I am still unable to retrieve description when I manually enter. However, the values from the dropdown are able to retrieve tho even if the student Event only throws two values.

2023-10-21 19-42-11
Tousif Khan
Champion

Hello, What I have observed here that -  You have missed the filter over here

Thanks
Tousif Khan

UserImage.jpg
Harvin Raj

Hello @Tousif Khan ,


Thank you for your time. As per you suggested, I have included the filter in the aggregate. However, I am still not able to retrieve the manually entered value from the input widget. Is there any other way I can resolve this issue? 

2023-05-08 05-34-05
Piyali Saha

Hi Harvin Raj ,

Description is not reflecting after saving because StudentStudentSelected action with updates the BulkUpdate list is not getting updated on changing or adding description field.

You need to append the description entered in the field to the BulkUpdate list, so that description gets saved in the database because on clicking update button BulkUpdate list is getting saved in the database hence description is saved as null in database.

UserImage.jpg
Harvin Raj

Hi @Piyali Saha,


Thank you for your reply. I try to include append action in every client action when assigning value to them. For example, selection of table ("T1"). When I append table value, the other values (chair, description, student name) will be empty because I have not assign value for them yet. During selection of chair ("C1"), the table, description and student name will be null because I am assigning value for chair only. That is why I include append action at the very end. 

So if I append the description value into the BulkUpdate list, the table and chair value will be null because at a time I can only append that particular value into the list.

Is there any way for me to append description value into BulkUpdate list without having null value for table and chair?

2023-05-08 05-34-05
Piyali Saha

yes, you can put validations and make the description disabled so that after filing the table and chair user must fill the description.

Otherwise, you can make the input parameter on the block for description and if there is change in value of block then the event will be trigger which will also trigger the list append which is there in handler Studentstudentselected.

UserImage.jpg
Harvin Raj

Quick Update!!!

Solution

Anyone facing difficulties related to the similar issue, can refer to the above link. Thank you!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.