Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the Object Page by Adding More Functionality #23569

Open
naveenvishal opened this issue May 16, 2024 · 2 comments
Open

Extend the Object Page by Adding More Functionality #23569

naveenvishal opened this issue May 16, 2024 · 2 comments
Assignees

Comments

@naveenvishal
Copy link

naveenvishal commented May 16, 2024

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
Copy link

CSPanda21 commented Jun 4, 2024

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

@jmmargo
Copy link
Contributor

jmmargo commented Jul 29, 2024

Dimitri, can you please respond to the user's feedback? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants