
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.
You have:
Created an XML file called Authorization.xml in the Mobile Project
Defined the authorization objects in the authorization file
Select the required model class.
Choose
In the Authorization Objects field, enter the required authorization objects. You can enter multiple authorization objects separated by commas.
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]
Choose Enter .
Select the required attribute, and then the basic Properties tab.
In the auth field, enter the required authorization fields separated by commas.
Syntax: Authorization Object.Field
Example: AO1.Field1
Choose Enter .