Skip to Content
Technical Articles

Enable Git for SAP Mobile Cards in 5 min

Since November SAP Mobile Cards development is enabled inside the SAP Web IDE. Now this enables Developers to build cards without having access to the SAP Mobile Services cockpit. Furthermore, Cards can now easily be managed inside a GIT to maintain versions of a Card and also allow multiple developers work together on one Card.

To maintain a Card in GIT the following steps are needed.

  1. Enable the Full Stack Web IDE and open it
  2. Inside the Preferences enable the Mobile Services App Development Tools
  3. Select “New Project from Template “from the File Menu and select the Mobile Cards Kit Micro App.
  4. Click next and give the Project a Name. For simplicity just create a card from a Template. You can also import existing Cards. Click on Finish to create the Card.
  5. Add Git management to your Card Project via the right mouse click.
  6. Enable the GIT service inside your SAP Cloud Platform Cockpit (This is right now only on Neo Cloud)
  7. Create a Git repository to maintain the card in. To do this go to the Git Service and click on new repository. Fill out Name and Description and click OK.
  8. Open the new created Git repository by clicking on the List and copy the Repository URL.
  9. Go back to Web-IDE and right click on your project to add a remote repository to your Cards project.
  10. Paste the URL from your Git Repository into the URL field click OK.

After pulling, committing and pushing the latest version of your Card is managed by GIT. Right Click on the project allows you to deploy the latest version of the Card to SAP Mobile Services.

Be the first to leave a comment
You must be Logged on to comment or reply to a post.