Exchanging Settings between Client and Server

Settings exchange between the client and the SAP Mobile Server using REST SDK.

Update application settings.

Syntax

Get the application setting configured for the user.

-(NSDictionary*)getConfigPropertyMapWithError:(NSError**)error;   

Fetch the configuration property for the user using:

-(NSString*)getConfigProperty:(NSString*)configKey error:(NSError**)error;

Or

NSString *deviceToken=[l_appsettingsObject getConfigProperty:@"d:ApnsDeviceToken"
      error:&error];

Update the application settings configured for the user.

-(BOOL)setConfigProperty:(NSDictionary*)settingsList error:(NSError**)error;   

Examples