ListBox multiselect
Question

Hi ,

 I'm using multiselect List box to select units.

Here i'm saving the units in entity with one to many relationship.

I don't know how to load the data to the List box in preparation.

No issues during save action. 

mvp_badge
MVP
Solution

Hi Hanishq,

Please find the attached oml for sample.


ListControl.oml

mvp_badge
MVP

Hanishq PM wrote:

Hi ,

 I'm using multiselect List box to select units.

Here i'm saving the units in entity with one to many relationship.

I don't know how to load the data to the List box in preparation.

No issues during save action. 


Call the aggregate on preparation with desired data and map that data to list.

mvp_badge
MVP

Hi Hanishq,

Why you wants to load saved data back to listbox widget, because it is used for selection, for display purpose you can use list widget to display to saved selected record.

Or you want to show the saved items within the list as selected?

Please elaborate?

Manish Jawla wrote:

Hi Hanishq,

Why you wants to load saved data back to listbox widget, because it is used for selection, for display purpose you can use list widget to display to saved selected record.

Or you want to show the saved items within the list as selected?

Please elaborate?

This is how it looks in the browser when the data is new. I also wan't this to look like as it is after the save.


mvp_badge
MVP
Solution

Hi Hanishq,

Please find the attached oml for sample.


ListControl.oml

mvp_badge
MVP

Hi Hanishq,

Please check the attched sample oml. Hope this helps.

Regards,

Manish Jawla

Manish Jawla wrote:

Hi Hanishq,

Please check the attched sample oml. Hope this helps.

Regards,

Manish Jawla

Sorry , it's not my personal environment . I can't share OML. 

Thanks


mvp_badge
MVP

Hanishq,

I have shared my oml file in the above, please check that.

Manish Jawla wrote:

Hanishq,

I have shared my oml file in the above, please check that.

Thanks


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