cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements Object Page - Table Create Button missing

cmetz
Participant
0 Kudos

Hi guys,

i created a list report with object page via fiori elements. The objects page contains a table with items. Unfortunately the create button for new entries is missing. I am using a OData Service with implemented methods (no cds view) and local annotations in the frontend. I have been searching and debugging for ages, but I can't get it work.

List Page - List of employees

Object Page (Delete Button is shown, but no create button!) - Projects of employee

Due to sap documentation i need to define a "creatable-path" on the navigation, that points a attribute of the root entity and I need to set this value to true in the data. I did this already but its not working.

Enabling Action Buttons in Tables on the Object Page
https://sapui5.hana.ondemand.com/sdk/#/topic/d27ae998a20a4dbead161e3e7c0ac2e8

Help would be highly appreciated.

Thanks and regards

Chris

0 Kudos

Hello Christoph,

I have exactly the same problem you are facing. I even tried to make the Create button visible using the Visual Editor in Web IDE, but it doesn't work well. Were you able to resolve the issue OR get any pointers?

Regards,

Pramod

isot1990
Explorer
0 Kudos

Hello Christoph,

Did you find the solution? I faced with same problem and i didn't find a solution just like you. Could you share the solution if you find please.

Regards,

Ismail

Accepted Solutions (0)

Answers (4)

Answers (4)

MioYasutake
Active Contributor

Hi cmetz,

In manifest.json, you need "pages" section under ObjectPage setting, which points to association to "projects of employee" entity. Below code is sample from my project.

karthikenec
Discoverer
0 Kudos

I'm looking for the same. Do we have the solution for this ?
Create button/Edit and Delete button is missing in the object page item table which is associated to header.
I know how to achieve this using RAP where as using class OData I'm not getting it. Please advise.

akshaya_p
Contributor
0 Kudos

Did you find a solution to this?

sebastianraemsch
Active Participant
0 Kudos

Hi,

At least from a metadata perspective the visibility of the create button is controlled by property

sap:creatable="true"

inside of EntityContainer -> EntitySet

<EntityContainer Name="sample_Entities">
<EntitySet Name="sample_Root" EntityType="sample_RootType" sap:creatable="true"
sap:updatable="true" sap:deletable="true" sap:searchable="true" sap:content-version="1"/>
...

Maybe this helps at least to get one step further.

Best regards, Sebastian