cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 Application not displaying properly from sap portal

0 Kudos

Hi All,

When I am loading UI5 application from SAP portal its contains are not loading properly.

In Network tab i found that

library.css and library-parameters - is not loading = I have manually load that one.

But Still I am facing the same issue.

Thanks,

Anupam Bose

index.html page

<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>


<script src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"
				id="sap-ui-bootstrap"
				data-sap-ui-libs="sap.m"
				data-sap-ui-theme="sap_bluecrystal"
				data-sap-ui-xx-bindingSyntax="complex"
				data-sap-ui-resourceroots='{
				"com.exalca.atl" : "./"
				}'>
		</script>

	<link rel="stylesheet" type="text/css" href="css/Style.css">
	<link rel="stylesheet" type="text/css" href="css/library.css">
		<script>
			sap.ui.getCore().attachInit(function () {
				 new sap.ui.core.ComponentContainer({
						name : "com.abcd.demo",
					}).placeAt("content");
			});
		</script>


	</head>
	<body class="sapUiBody" role="application">
		<div id="content"></div>
	</body>
</html>

Accepted Solutions (1)

Accepted Solutions (1)

nickrankin
Contributor
0 Kudos

Hi Anupam,

In your UI5/Fiori iview uncheck the property "Hand-over Portal Stylesheet". That should fix it,

Best regards,

Nick

Joseph_BERTHE
Active Contributor
0 Kudos

You probably right, because UI5 doesn't support Tradeshow theme.

Answers (1)

Answers (1)

0 Kudos

Hi Nick,

Thanks for your help, now my application is working properly.

Thanks a lot @Nick Rankin..

nickrankin
Contributor
0 Kudos

Glad to hear it Anupam!

Nick