Configuring a Data Model

You can design and optimize a data model based on the use cases of your mobile application. You can do this independent of the back-end system. Various data model entities, such as “Customer” and “Account” are grouped into reusable sets, such as “CRM” or “Work Order”. These sets encapsulate the related and dependent data model entities.

After you select an endpoint type, you can generate a data model from back-end LOB systems that already have their data model exposed as objects. Or, you can build a data model and map the objects to a back-end system manually. You can also create a service-driven object from an existing Service.

The following sections detail about Generating object's definition and object relationships:

Generating Objects' Definition from Meta Data of Back-end Provider

You can generate a data model from a backend LOB system that has its data model exposed as objects. The example in the following section details the steps for generating a data model from a sample SAP backend.

Creating Objects' Definition and Map to Back-end Objects Manually

You can create a new data model manually and map it to your backend system. You must provide this data model to the application developer to integrate it with the app. The end user’s device will use this data model to synchronize data with Quantum Fabric. Mapping specifies how Quantum Fabric will populate the data model based on the backend LOB objects. You can build the client application using your preferred data model and then map the application objects with the backend objects.

In this procedure, you will create a new data model: EmployeeModelSchema, add objects to the data model, and then add fields to the objects.

Configuring Relationships between Objects

The following procedure helps you how to define relationships between the unique fields in objects in the EmpolyeeModelSchema data model.

 

You can now configure Common Mapping and Methods to the Fields on the Back-End, refer to Mapping Operations to Back-end Methods.