Skip to content

Uploading Client Resources

Upload client resources, or resource bundles, for the selected application. Resource bundles are containers used by applications to download dynamic configurations, styles, or content from SAP Cloud Platform Mobile Services. The administrator can modify the client resource bundle settings in Mobile Services cockpit.

Keep in mind these resource bundle guidelines:

  • Supportability – the resource bundle can be of any type (.pdf, .xls, .xml, or any other extension), with no restrictions, except that password protected zip files are not supported.

  • Size – the resource bundle is restricted in size. The maximum size is 1 GB, because Cloud Foundry saves the bundle content in ObjectStore DB. The maximum total bundle count is 100 for an application. For larger files, work with an application developer for performance issues.

  • Default resource bundle – the first resource bundle that you upload is considered to be the default. After that, you can upload additional versions of the bundle, but only one can be the default. You can delete obsolete resource bundle versions.

  • URL for the default resource bundle – https://<mobile services host>/bundles/<ApplicationId>/.

    Also supports URL – https://<mobile services host>/mobileservices/application/{<applicationId>}/bundles/v1/runtime/bundle/application/{<applicationId>}

  • URL to access other resource bundles – https://<mobile services host>/bundles/<ApplicationId>/<BundleName>:<BundleVersion>.

    Also supports URL – https://<mobile services host>/mobileservices/application/{<applicationId>}/bundles/v1/runtime/bundle/application/{<applicationId>}/bundle/{<bundleName>}/version/{:<bundleVersion>}

  • In Mobile Services cockpit, select Mobile Applications > Native/Hybrid.

  • Select an application, then select Mobile Client Resources under Assigned Features (or add it first).

  • Click the Upload Client Resource icon create to create a new client resource:

    • Bundle Name – provide a name to identify the resource.

    • Version – provide a version number.

    • Upload Client Resource – click Browse, select the file, and confirm.

  • To define a client resource bundle as the default, select it, and click Save.

  • (Optional) Choose download or delete as required.

  • Select Info to view feature details, and to download mobile service data in JSON format.


Last update: August 12, 2020