on 10-29-2018 10:32 AM
Hello,
I have developed a Web Content Widget and deployed it to SAP Cloud Platform correctly. Then I have created a new portal site including the widget in a page.
Until last week I have been able to see the content of the widget correctly but since friday 26th October the content was not displayed anymore. I did some tests with Chrome, Firefox, Edge and IE.
When I inspect the code, I'm able to see the complete widget content code but it's like some wrapper elements get hidden somewhere..
In the widget I have added a SAPUI5 view and configured the widget to show the view and use the methods in the controller. Until last week it all worked fine.
Do you have any idea how to solve this? Has been released some update that creates conflict?
Dear Sir,
I have got this issue, Please give me the instruction.
Best Regards,
Peeraput
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
we've found out that there's a div wrapping the view with a height of around 20px, despite it has inline-css property "height: 100%".
If we set the min-height property the widget is displayed.
To achieve that, in the method onAfterRendering of the controller we add:
var viewId = this.getView().sId;
var container = document.getElementById( viewId ).children[0];
container.style.minHeight = "600px";
Any other idea to solve the bug is welcome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.