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. 

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.

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?

Solution

Hi Hanishq,

Please find the attached oml for sample.


Solution

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.


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


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