Hi Community,
I am facing a problem with loading SAPUI5 in additional properties page and would like to ask, if anybody experienced a similar issue.
My approach of loading SAPUI5 originates from the comments section of Mike Howles Blog Post: Design Studio SDK - SAPUI5 Accordion Menu.
The Include I use looks like the following:
<script src="/aad/resources/sap-ui-cachebuster/sap-ui-core.js"
type="text/javascript"
id="sap-ui-bootstrap"
data-sap-ui-theme="sap_bluecrystal"
data-sap.ui-preload="async"
data-sap-ui-libs="
sap.ui.commons,
sap.ui.layout">
</script>
I also wait for sapui5 to load:
sap.ui.getCore().attachInit( function() {
handler = new com.example.chart.PropertyPage();
});
I use some Controls from sap.ui.commons and when i now select a component and the additional properties page starts to load, sometimes it occurs that it shows a blank additional properties page and Design Studio crashes. It only occurs sometimes (maybe every third try in average) and only happens in a Design Studio instance startet from eclipse with the configuration described in Dev Guide. A built and installed version of the component never showed this behavior. There are also no error messages in eclipse console.
I am currently running DS1.6 SP1 Patch 1 but the issue occurs with other versions as well.
If anyone knows this issue or have an idea where it's coming from, i would appreciate his help.
Kind Regards
Tim