onclick button create or update entity

I have a form containing widgets and I want when the user clicks at the button I call an entity action(CreateOrUpdateEntity), when I type (MovieForm.Record) to fetch the entered data it gives me error

so what value should be entered when onclick is triggered ?

Hi Muhamed,

I think you should have to pass record type like "MovieForm.Record.Structure" (MovieForm.Reord.Movie)

Find Below screenShot

and provide some images of you code also.

Hope this will help you


Rahul Sahu

to make createOrUpdate you have to pass only one entry, and you are passing something that has no value.  If you want to pass more than one, do a bulk createOrUpdate, or you need doing a Foreach.

To use one entry to createOrUpdate: