cancel
Showing results for 
Search instead for 
Did you mean: 

Standalone URL of a Kapsel App gives a blank page

Former Member
0 Kudos

Hi ,

We are trying to execute stand alone url of a kapsel app deployed to a ABAP UI repository. It gives a blank page and the JAVA console shows a toolbar element error. Any idea why?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

midhun_vp
Active Contributor
0 Kudos

Hi Praveen,

It would be good if you could provide additional information on what you are trying to do.

Regards, Midhun

SAP Technology RIG

Former Member
0 Kudos

HI Midhun,

Before i brief on our requirement, I would like to thank you for your blogs on Kapsel apps. They were really helpful.

As regards our requirement we are looking to build a Inventory app and launch it from the SAP Fiori client.

Our idea is to create an app from the Kapsel offline app (to make use of the in-build CRUD operations) but sans the offline feature. We did that and it works fine as a web application. We did deploy it to ABAP UI5 repository. Our BASIS admin wants us to make sure that the stand alone URL of the same works fine before he adds it to the Launch Pad (meant for SAP Fiori client).

Now when we execute the stand alone URL it gives the error in the attachment  above, although when run as web application it works fine.

Appreciate your input in this regard.

Thanks,

Praveen.

midhun_vp
Active Contributor
0 Kudos

Hi Praveen,

Do you want offline in the app? If yes, you have to run this as an independent app (independent cordova app) without Fiori Client.

We do not recommend offline feature with Fiori Client.

Instead you could create an apk file from web ide itself and distribute it. In the case of a hybrid app you don not need to deploy it to abap repository. The web content (html, javascript and css) will be stored in the app itself.

You have to understand more on how the cordova app works (hybrid app). Cordova is an open source project. You should find much details in the web.

Which are the features you are looking for in the app?

Regards, Midhun

SAP Technology RIG

Former Member
0 Kudos

HI Midhun,

Thanks for your reply.

I just need the bar code scanner to work. I understand that the bar code scanner plugin would work if we deploy it from the SAP Fiori client.

Also regarding the URL which is giving me error could it be that the UI5 libraries are not installed properly as the error is on the tool bar element?

Thanks,

Praveen

Virinchy
Active Contributor
0 Kudos

Hi Praveen,

If your requirement is to include barcode scanner functionality in your newly developed UI5 app , then i would recommend to make it as an independent app via cordova and eliminate the dependency on fiori client. (because at times updation of your project would depend on the working and functionality of fiori client )

Please check your footer code and try checking with a different UI5 version (There will be different Ui5 library versions in the system and Ui5 CDN is also available). I once had a similar issue and realised that footer api has differed with UI5 versions i used in hybrid app and web app. (My app was packaged via cordova but not fiori client ).

Regards

Virinchy

midhun_vp
Active Contributor
0 Kudos

Hi Praveen,

If your requirement is only barcode scanner you could use the Fiori Client.

I am not an expert in ui5 to help you with the current issue you are facing. Someone else here should be able to help you.

Regards, Midhun

SAP Technology RIG

Former Member
0 Kudos

HI Virinchy

TThanks for your answer let me check the UI5 library and will het back to you

thanks

Former Member
0 Kudos

Thank you Midhun

Former Member
0 Kudos

HI Virinchy,

Sorry for the delay in writing back.

I did try a different version of the UI5 library in the script in index file but it would not execute even as a web application!

Again I have not yet launched it from the FIORI client. I'm just trying the URL

Thanks,

Praveen.

Former Member
0 Kudos

HI Virinchy,

We are on SP07 Netweaver Gateway 2.0  and the jquery version is <1.7 and hence some UI controls having problem. Will have to wait for the upgrade

Thanks for your inputs in this regard.