cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 in Open social widget

arvind_goel
Explorer
0 Kudos

Hi,

I am using SAP UI5 in one of the Open Social widget to deploy the same on Cloud Portal. I have the information that Cloud portal does not support all SAP UI5 libraries for now.

Is there a way to use sap.ui.commons.form.SimpleForm with in OS widget? currently it throws Uncaught TypeError: Cannot read property 'SimpleForm' of undefined at run time.

Works fine for sap.ui.table.Table and other simple controls.

Regards,

Arvind

View Entire Topic
former_member182739
Active Participant
0 Kudos

Hi,

Currently, the supported UI5 version that we provide is 1.8 (official version) or 1.9.0.

The common library is part of the HANA Cloud Supported libraries, however, the form was added to these library since 1.9.1, this is the reason why you have this exception.

Look at the API documentation- http://veui5infra.dhcp.wdf.sap.corp:8080/demokit/#docs/api/symbols/sap.ui.commons.form.Form.html

We do plan to provide the latest UI5 version in the nearest future (probably during Q3).

Another option is to use UI5 resources directly not as open social required feature, but as a script that you included in your HTML code. 

We are about to support it very soon.

Thanks,

Inbal

arvind_goel
Explorer
0 Kudos

Thanks Inbal