Show TOC

Procedure documentationMapping an Authorization Object to a Business Object Locate this document in the navigation structure

 

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   Window   Show View   Properties.  

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

    Note Note

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

    End of the note.

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.