Skip to Content

AppBuilder – Connect to SAP Mobile Platform Cloud Version [AppBuilder is now deprecated, use WebIDE]

Hi there.

A couple of month ago SAP Mobile Platform Cloud Version was released as mentioned by my colleague Jens Koerner. Also for some weeks now AppBuilder was released to our community (SAP AppBuilder Developer Center ). Since AppBuilder is perfect to be used for mobile Apps, it seems natural to combine those worlds: AppBuilder to be the technology for the client development and SMP Cloud as Mobile as a Service (MaaS) to run the App.

So prepare your AppBuilder environment and follow me to configure an AppBuilder datasource connected to SMP Cloud.

Prerequisites:

Now let’s start:

Start AppBuilder and create a new App by clicking the “New” button on top of the welcome screen.

/wp-content/uploads/2013/12/appbuilder_1_339390.jpg

In the dialog that appears just type in a project name like : “SMPCLOUDDEMO” and click “confirm”.

Then click “SMP Settings” in the Help menu.

A dialog appears that lets you configure to which SMP Application you want to connect to.

/wp-content/uploads/2013/12/appbuilder_2_339416.jpg

This Application is a configuration container that hold information about your backend, your registrations, settings and a lot of other details. It is important here that we configure the correct values (case sensitiv).

In my Blog How to use the SMP Cloud with Copy & Paste I used the Application ID “firstApp”. Here is how it looks like in SMP Cloud Trial:

/wp-content/uploads/2013/12/appbuilder_3_339391.jpg

Now set the configuration settings in AppBuilder. The Profile name is up to you to decide. The server URL depends on your SMP Cloud URL. It typically consists of “smp-” followed by your SCN user ID follwed by “trial.hanatrial.ondemand.com”.

Choose “firstApp” as Appcliation ID and Security Config. Type in the Username and Password from the backend.

/wp-content/uploads/2013/12/appbuilder_4_339451.jpg

Confirm the settings. The dialog will disappear. In the lower left corner of AppBuilder click on “SMP SERVICES”. Select the pencil tool.

/wp-content/uploads/2013/12/appbuilder_5_339449.jpg

A dialog appears. Here you choose the “smpcloud” profile selection box on top of the dialog. Then click RETRIEVE.

If you have everything setup up correctly AppBuilder will now onboard itself to your SMP Cloud Account and retrieves the OData Service Document. It will then list all available services in the list on the right side.

/wp-content/uploads/2013/12/appbuilder_6_339455.jpg

Confirm the dialog by pressing “CONFIRM”.

That’s all. You can now use the datasource in your superlist and directly see live data while you are coding.

To learn more about the Superlist read this tutorial: AppBuilder Tutorial – SuperList

Hope you enjoyed this little tutorial.

Have Fun,

Martin Grasshoff

34 Comments
You must be Logged on to comment or reply to a post.