cancel
Showing results for 
Search instead for 
Did you mean: 

CAP Node.js Create Button missing in Odata preview

0 Kudos

Dear Team,

I am unable to see the create button in fiori preview of odata.

any annotation to be added.

Please check odata fiori preview screenshot.

Regards

Sarath

Accepted Solutions (1)

Accepted Solutions (1)

TobiT
Participant

Hi Sarath,

last time I checked the FIORI Elements UI (assuming you are using it) supports draft enabled entities only.

Try annotating your entity like this:

annotate YourService.YourEntity with @odata.draft.enabled;

Have a look at the docs as well: https://cap.cloud.sap/docs/advanced/fiori#enabling-draft-with-odatadraftenabled

0 Kudos

its working.

Is it mandatory to have odata draft functionality for create?

TobiT
Participant
0 Kudos

It looks like it if you use FIORI Elements.

You could go for SAPUI5 or try out the old V2 apps from sap.suite.ui.generic.template:

https://sapui5.hana.ondemand.com/#/api/sap.suite.ui.generic.template

Answers (0)