8

I've created a custom theme for NWBC (just with a different background image) and it turns out that this is connected to Fiori too. The theme was created just like the tutorial on this link: How to create and assign custom theme to NWBC

When I try to run Fiori, I get the following error:

GET http://<machine_name>/sap/public/bc/themes/~client-200/~cac…p1hMouOcijKd4xZRPUAZhLJ3E/UI5/sap/m/themes/zsap_goldreflection/library.css 404 (Not found) 

The name of my new custom theme is zsap_goldreflection and, as it appears, the file library.css (and also library-parameters.json) is not being found.

Any idea why?

Thank you.

Regards, Eva

oddball8
  • 368
  • 2
  • 5
  • 19
Eva Dias
  • 1,591
  • 9
  • 30
  • 65

1 Answers1

1

Custom themes support various clients and frameworks (depending on which SAP theme they are based on). Your custom theme seems to be based on SAP Gold Reflection: (zsap_goldreflection/library.css).

However, custom themes based on SAP Gold Reflection are not supported by SAPUI5 mobile libraries, which is why there is no css file and the request fails.

One possible solution would be to try to use SAP Blue Crystal as a basis for your custom theme since it supports SAP Fiori (if this is your main use case). For an overview, please see the following link: SAP Standard Themes.