Skip to Content
0

How to add custom plugins in Hybrid Application Toolkit?

Feb 22 at 02:53 PM

114

avatar image

Hi Experts,

I create custom SAPUI5 application with web-ide.

This application will be mobile application. So I use Hybrid Application Toolkit.

Previously We can add easily custom plugin with Kapsel but It is deprecated now.

How can I add custom plugin with Hybrid Application Toolkit? For example cordova google maps.

Best Regards,

Kaan.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Ludo Noens
Feb 26 at 10:57 PM
0

Hi Kaan,

In SAP Web IDE, activate the Hybrid Application Toolkit plugin.

Create a new project based on one of the standard templates.

Right click on the project and select Mobile > Select Cordova Plugins.

You will be able to add the Google Maps plugin, among 2000+ other plugins, publicly available in npm.

Regards,

Ludo

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Ludo,

There is no Mobile section.

Also When I Right click on project, Fiori Mobile is disable.

How can I do enable this?

Best Regards,

Kaan.

ss2.png (11.6 kB)
ss1.png (23.5 kB)
0

It looks like you've started with a web app project and now need to turn it into a mobile project.

Unfortunately, this step is troublesome now. We are working on a feature to enable this; but that is not yet released.

When you create a new project in Web IDE, while the HAT plugin is active, the project will automatically be enabled as mobile project. The menu items will be selectable then. The way to get there for existing projects is to copy to sources into the new project.

Another advice for you: please switch to Web IDE Full-Stack. The version of Web IDE you are using now is being phased out.

0
Ludo Noens
Mar 07 at 01:14 PM
0

Hi Kaan,

Are you using a productive landscape for this? Or do you see this on trial ?

Thanks,

Ludo

Share
10 |10000 characters needed characters left characters exceeded
Kaan Ozdogan Mar 07 at 08:20 AM
0

Hi Ludo,

I converted application and configure my Full-Stack Web Ide.

But I couldn't select plugins.

Best Regards,

Kaan.


ss1.png (46.7 kB)
Show 5 Share
10 |10000 characters needed characters left characters exceeded

Hi Kaan,

I assume you are using a productive landscape. Can you please check whether you have set the correct roles in SAP Cloud Platform ? See the prerequisites mentioned here: https://help.sap.com/viewer/8e5c63b6470a4255861c259f3b2d9b41/Cloud/en-US/aa8715ac0a914f12b90fbb8865612c71.html

Thanks,
Ludo

0

Hi Ludo,

In my HCP cockpit, there ara only 3 type of mobile services,

There are no fiori mobile services.

How can I get it?

Best Regards,

Kaan.

ss1.png (31.6 kB)
0

If you don't have fiori mobile services, you are likely using mobile services (as visible in your screenshot).

In that case, just make sure you have the roles set for the "Prerequisites for Developing Apps Using mobile service for development and operations". This is the tile on the right.

0

How can I set this role?

0

Select the Development & Operations, std tile and configure the service. On the left of your screen you should see a tab names "Roles". Make sure your user id is set for the roles specified in our documentation. You'll have to do the same for the Portal Service.

0