Deploying a Kapsel App on SAP Mobile Platform Server

Deploy a local Cordova project as a Kapsel application to SAP Mobile Server.

Prerequisites
Kapsel is a set of SAP plugins for Apache Cordova. When you deploy a local Cordova project with Kapsel plugins to SAP Mobile Platform Server, you can leverage capabilities such as application life cycle management, implementation of a common logon manager and single sign-on (SSO), and integration with SAP Mobile Platform Server-based push notifications. AppBuilder provides scripts to consume the Kapsel plugin APIs in your AppBuilder applications. Prior to deploying your Cordova project as a Kapsel application, you must:
  • Set up your Cordova environment following the steps in Setting Up the Development Environment > Developing with Cordova
  • If developing on a Mac, set up your Mac environment following the steps in Setting Up the Development Environment > Setting Up the Mac Environment.
  • Set up your Android development environment following the steps in Setting Up the Development Environment > Developing for the Android Platform.
  • Create an AppBuilder project as discussed in Developing Apps with AppBuilder, Developing a SuperList App With AppBuilder, and Developing a Chart App With AppBuilder.
  • Register your application with SAP Mobile Platform Server using the SAP Management Cockpit administration user interface. See the SAP Mobile Platform documentation for more information.
  • Generate a local Cordova project for the native iOS and/or Android platform(s). See Create a Local Cordova Project.
Task

  1. Open the application you wish to deploy as a Kapsel Application.
  2. In the AppBuilder menu, select Deployment > Kapsel on SMPServer.
  3. In the Deploy to SMP Server dialog, enter the information, and click Start:

    deploy_kapsel
    • SMP Server Host - the IP address or path to the SAP Mobile Platform Server host.
    • SMP Server Port - the port for the SAP Mobile Platform Server. If the admin port is the default 8083, leave this field blank.
    • Admin Username - the administrative user name for SAP Mobile Platform Server.
    • Admin Password - the administrative password for SAP Mobile Platform Server.
  4. Click Start to deploy the project to SAP Mobile Platform Server. After successful deployment, you can verify your application using the Management Cockpit in SAP Mobile Platform Server. For more information about managing your application in SAP Mobile Platform Server using Management Cockpit, see the SAP Mobile Platform Server documentation.
Related tasks
Create a Local Cordova Project
Launch to Simulator
Related reference
Setting Up the Development Environment