title: Cannot access to sap.ui.getCore() when app is deployed Fiori sapui5
body: <p>I'm working on a Fiori App in SAP Web IDE full stack. My application works totally fine in SAP Cloud Platform but when I deploy it to my SAP system in Fiori Launchpad, I get <code>sap.ui.getCore().byId(...) undefined</code>. So I change My use about <code>sap.ui</code> in order to avoid this error. My goal is to hide some <code>&lt;li&gt;</code> from my menu in the parent view App, I use then <code>document.getElementsByTagName(&quot;ul&quot;)</code> which works in SAP Cloud Platform but doesn't work neither when deployed. For me, I cannot access to my parent view's elements.
  Thank you for helping me with this.</p>