cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 in Web UI View

Former Member
0 Kudos

Hello,

I was wondering if anyone has tried to use an SAPUI5 component on a CRM UI view?

I was trying to use the SAPUI5 autocomplete control on an Interaction Center view. I noticed that the UI5 component libraries are not getting loaded correctly and so the instantiation fails.

I then created a custom WUI component with a view and it worked perfectly fine and my autocomplete control showed up and worked.

I've tried all combinations of bootstrap but here is the one that works on my Z component.

<script id="sap-ui-bootstrap"

  type="text/javascript"

  src="/sap/public/bc/ui5_ui5/1/resources/sap-ui-core.js"

  data-sap-ui-theme="sap_bluecrystal"

  data-sap-ui-libs="sap.ui.commons"

  data-sap-ui-preload="sync">

</script>

Thanks,

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Folks,

Any inputs?

Thanks,

Gaurav

VishnAndr
Active Contributor
0 Kudos

Hello Gaurav,

If it is still relevant: try to disable ADH (automatic delta handling) for your component/view. You can do this in IMG -> CRM -> UI Framework -> Disable automatic delta handling. It works for me. See the screenshot attached. Before disabling ADH I had exactly the same issue as yours. Hope this will help you.

Former Member
0 Kudos

Thanks so much Andrei. That worked perfectly.

Kind regards,

Gaurav

former_member210661
Active Contributor
0 Kudos

Hi Gaurav,

I am also trying to use ui5 library in my component but the path what you have given is not available in my system if you don't mine could you please guide me how to use that libraries in my webui component..

i have checked the path in se80 nd sicf but i haven't get that path..

have look at this pics..

Thanks & Regards,

Srinivas.

Former Member
0 Kudos

Hi Srinivas,

I think the UI5 component needs to be installed. Speak to your BASIS. There are a number of blogs as well that talk about how to install the component.

Thanks,

Gaurav

Answers (0)