cancel
Showing results for 
Search instead for 
Did you mean: 

Use ExtensionAPI createEntry or invokeActionsto create new records in the oData service

anmolamb
Participant
0 Kudos

I have a requirement in which I have to extend the Generated app with a action button.

On click of this button the data should be created to the attached default service. In my research I found that SAP provides ExtensionAPI with methods like createEntry, save and also invokeActions but I could not found any examples to see how to use them.

I tried calling method createEntry and then save method but it did not trigger any service call to the backend.

When I try calling invokeActions - I get error function is valid ( what are valid function ? )

Could you please help in understanding how exactly these methods work.

Thanks a lot

Regards,

Anmol

anmolamb
Participant
0 Kudos

No update on this yet, could someone at least give me some suggestion.

Accepted Solutions (0)

Answers (0)