niranjan_bosch
I'm new here

Getting problem with NotifyingList in FS 5.1 migration

Dear community team,

I am working on FS 5.1 migration.

In 4.2 we have the below code causing the problem.

List<Entity> childInfoCarrierList = ((NotifyingList) data.get(_masterLanguage, de.espirit.ps.bosch.tt_this.Constants.CS_INFO_CARRIER).get());

Previously the get() method is returning NotifyingList and now it is returning FormDataListImpl.

Now could you please help me how can I get the Entity list using the above code.

Please help us as soon as possible.

Thanks in advace.

Thanks&Regards,

Niranjan

0 Kudos
2 Replies
andre
I'm new here

hi Niranjan,

It is not possible to get the Entity.  You should use the new FormData-Way.

NotifyingList  is no API.  FormDataList has FormData objects and every FormData has FormField representing a value (Entity#getValue) -> which means a value of a db column.

for further infos:

https://community.e-spirit.com/community/developer/blog/2013/02/28/how-to-work-with-content2-objects

--

andre


0 Kudos
marza
I'm new here

Hello Niranjan,   

do you need further help or did André's reply already help you? If so, it would be great if you marked his reply as "correct answer" so that other community users find the solution easily. If you have already found a solution by yourself, it would be very kind of you, if you posted it here.   

Best regards

Marian

0 Kudos