sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
692 stars 766 forks source link

Extend the Object Page by Adding More Functionality #23569

Open naveenvishal opened 1 month ago

naveenvishal commented 1 month ago

Tutorials: https://developers.sap.com/tutorials/fiori-tools-cap-modify-object-page.html

Following the above tutorial, and reaching the step - Extend the Object Page by Adding More Functionality, the object list page goes into loading mode and never returns. Terminal shows no error.

This happens after I added Existing Fragment within the project as specified.

image

@fakirdi please suggest .

CSPanda21 commented 3 weeks ago

Hello Team,

I am facing the same issue. I can execute the project locally, but after deploying it to BTP Cloud Foundry, I am getting the below error. And the same blank screen as @naveenvishal mentioned. This comes when I try to open the object page. And the object page does not load.

Below is the error which I get in the console: ERROR:

Failed to resolve dependencies of 'sap/gantt/simple/GanttChartContainer.js' -> 'sap/gantt/library.js' -> 'sap/gantt/config/Mode.js': failed to execute module factory for ''sap/gantt/library.js' -> 'sap/gantt/config/Mode.js'': Failed to execute 'sap/gantt/config/Mode.js': Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src * data: blob:".

Please suggest. Below is the code repository:

https://github.com/CSPanda21/CAP_FioriElement

@marcorosa please suggest.

Regards, Chandan