Skip to Content
0
Oct 19, 2020 at 01:01 PM

CreateEntry with predefined values in Object Page

89 Views Last edit Oct 19, 2020 at 01:02 PM 2 rev

Hello colleagues

I have Fiori Elements without a Draft concept.

My question:

By clicking on the Add Constraint button, I want to create a new Constraint with default values. To do this, I use this.extensionAPI.getTransactionController (). createEntry({Description : "Hello"}),

but I create a new context for the Entity Type that is used on the List Report.

Tell me how I can change the path in this.extension API.getTransactionController().createEntry(), as done for example in oData v2 oModel.createEntry(sPath, {configs})

Attachments

screenshot-1.png (29.2 kB)