Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Custom Theme not working through URL parameter for Fiori in HCP

$
0
0

I have created a custom Theme using UI theme designer from Hana Cloud Platform . I exported the theme to my local system and added as root folder in my eclipse project. I accordingly changed the neo-app.json file. Aftrer that I deployed the app to HCP again. Now I am trying to set the theme by using URL parameter but the modified theme is not coming , instead the page is not coming with any theme . In console , there are lot of errors with 404 related to my new theme saying library.css not found.

 

I followed the steps given in Setting Themes for SAPUI5/HTML5 Applications via URL parameter and Bootstrap Configuration in [HCP TRIAL] (using the URL parameter method)

 

Please find the structure of my project and my code in neo-app.json

theme_issue1.JPG

 

 

I am accessing my page with the following URL for new theme

 

https://amberpo3-p1002830trial.dispatcher.hanatrial.ondemand.com/?sap-theme=cthemebrown@https://cthemebrown-p1002830trial.dispatcher.hanatrial.ondemand.com/cthemebrown

 

 

The page displays but without any theme and with the 404 error in console for library.css

theme_issue2.JPG

 

Regards

Amber


Viewing all articles
Browse latest Browse all 3285

Trending Articles