2400
Views
5
Comments
Solved
how to create list like array
Question

i need to create list like this 

2025-07-22 10-24-12
Lakshmi Kumar Yadav
Solution

Hi krittanat,

For expanding,

Click on the + icon as shown below.


First assign the list, post which expand option will get enable.

Also If you can't expand the element then create a variable of record type and pass it as element to list

Also can you share the oml to have a look for combobox implementation as per your requirement.


Thanks,

LK

2025-07-22 10-24-12
Lakshmi Kumar Yadav

Hi Krittanat,

You can easily achieve this by using ListAppend action by using it based on your condition.

Also their are multiple list operations, like ListClear, ListFilter etc., which can be used as per need.

I have attached sample oml.

Please check if it works for you.


Thanks,

LK

ListAppend.oml
UserImage.jpg
krittanat chinkrajangnate

Lakshmi Kumar Yadav wrote:

Hi Krittanat,

You can easily achieve this by using ListAppend action by using it based on your condition.

Also their are multiple list operations, like ListClear, ListFilter etc., which can be used as per need.

I have attached sample oml.

Please check if it works for you.


Thanks,

LK

it work but why in my project i can't expand element to add value and some question i need use this to combobox.

how to use list with combobox.

2024-02-16 07-43-18
Amit Verma

Hi Krittanat,

Please look into below link....

https://www.outsystems.com/ideas/677/array-list-functions

Hope this will understand the best way to do and achieve this.

Thanks,

AV


2025-07-22 10-24-12
Lakshmi Kumar Yadav
Solution

Hi krittanat,

For expanding,

Click on the + icon as shown below.


First assign the list, post which expand option will get enable.

Also If you can't expand the element then create a variable of record type and pass it as element to list

Also can you share the oml to have a look for combobox implementation as per your requirement.


Thanks,

LK

UserImage.jpg
Sergii Gushchyn

One thing that helps me to initialize a list as an array is to use JSON Deserialize.
I pass JSON string as argument. For example, "['First', 'Second', 'Third']"
Then I specify Text List as Data Type. And assign result of Deserialize to my local variable list.

This would work if you know upfront what values to use. 

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