Skip to Content
Technical Articles

Mobile Cards migration from Neo to Multi-Cloud

Following the series of migration from Neo to Multi-Cloud, this blog post will help you migrate your Mobile Cards from Neo to Cloud Foundry.

You can check out Migrate from SAP Cloud Platform Neo to Cloud Foundry for detailed guide on why do you need to move from Neo to Cloud Foundry and Mobile services migration from Neo to Cloud Foundry to know how to migrate your mobile services from Neo to Cloud Foundry.

Let’s create some mobile cards in Neo:

Automatic Instance Card

  1. Open your mobile services cockpit (neo environment) and under Mobile Application click on SAP Mobile Cards.
  2. Click on Features tab and click on Connectivity.
    Click on + icon.


    Search for the destination ‘sap.edm.sampleservice.v2’ and click the checkbox and click on OK.
    You can see the destination added.
  3. Click on create card icon under card templates tab and provide the required information mentioned below.
    Name Automatic Instance Card
    Version 1.0
    Template Source Template Manager
    HTML Template Sample Sales Order Template
    Destination com.sap.edm.sampleservice.v2

  4. Click Save.
  5. Click on ‘Automatic Instance Card’ in the Card Templates and set the card as productive as shown in the image given below.

Content Action Card

  1. Click on create card icon and provide the required information mentioned below.
    Name Content Action Card
    Version 1.0
    Template Source Template Manager
    HTML Template Sample Product Template
    Destination com.sap.edm.sampleservice.v2

  2. Click on the Editor tab and click on Flip to Back.
  3. Replace the Supplier Email span with the following code as shown below.
    <span class="listitem-value">
        <div class="c2g_email">
          {{d.results.[0].SupplierDetails.EmailAddress}}
        </div>
    </span>​

  4. Click Save.
  5. Click on ‘Content Action Card’ in the Card Templates and set the card as productive.

You can see the Mobile Cards you created on your mobile device:

 

Now, let’s migrate these cards from Neo to Cloud Foundry:

  1. In the SAP Mobile Cards (Neo environment), click on Configurations tab.
  2. To download all your mobile card configurations, click on ‘Export the entire system’. The exported configuration is encrypted and stored on your local machine.
  3. Now, go to your Mobile Services Cockpit (Cloud Foundry environment) and navigate to SAP Mobile Cards -> Features -> Mobile Connectivity.
    Add the destination ‘com.sap.edm.sampleservice.v2’ under connectivity.
    NOTE: In a real-world scenario, the destinations consumed are different. So, you will have to create all the destinations that your mobile cards will be using which is present in the Neo environment.
  4. To import all your mobile card configurations into your Cloud Foundry environment, Go to SAP Mobile Cards -> Configuration and click on ‘Import an entire system’.
  5. Your cards are successfully migrated from your Neo to your Cloud Foundry.

You need to reset your app and then scan the QR code from the Cloud Foundry environment and login.

You can see the Mobile Cards migrated from Neo to Cloud Foundry on your mobile device:

Now you have mobile cards migrated to SAP Cloud Platform running on Cloud Foundry with minimal number of steps.

To know more about the mobile cards, you can visit:

  1. Mobile Cards Documentation
  2. Tutorials
1 Comment
You must be Logged on to comment or reply to a post.