Skip to Content
avatar image
Former Member

UI5 Application not displaying properly from sap portal

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>

111aaa.jpg (163.6 kB)
2222.jpg (100.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 21, 2017 at 02:17 PM

    Hi Anupam,

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

    Best regards,

    Nick

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 22, 2017 at 05:31 AM

    Hi Nick,

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

    Thanks a lot @Nick Rankin..

    Add comment
    10|10000 characters needed characters exceeded