Show TOC

Mapping an Authorization Object to a Business ObjectLocate this document in the navigation structure

Use

You use this procedure to map the objects in the authorization file to the various model classes in the Mobile Project . To create the mappings, you first map the authorization objects at the model class level, and then at the field level.

Prerequisites

You have:

  • Created an XML file called Authorization.xml in the Mobile Project

  • Defined the authorization objects in the authorization file

Procedure
  1. Select the required model class.

  2. Choose Start of the navigation path Window Next navigation step Show View  Next navigation step  Properties. End of the navigation path

  3. In the Authorization Objects field, enter the required authorization objects. You can enter multiple authorization objects separated by commas.

    Note

    You can add optional authorization objects, if required. The authorizations for an optional authorization object are determined during runtime.

Syntax: Authorization Object1, Auth Object2, [Auth Object Optional]

Example: AO1, AO2, [AO3]

  1. Choose Enter .

  2. Select the required attribute, and then the basic Properties tab.

  3. In the auth field, enter the required authorization fields separated by commas.

Syntax: Authorization Object.Field

Example: AO1.Field1

  1. Choose Enter .