Consider a personalization key "pkcity" that is associated with the synchronization parameter "cityname". When a personalization parameter value is changed, the call to save automatically propagates the change to the server; you need not call submitPending after the save.
The following example shows how to get and set personalization key values:
//get personalization key values
SampleApp_PersonalizationParameters *pp = [SampleApp_SampleAppDB
getPersonalizationparameters];
MBOLogInfo(@”Personalization Parameter for City = %@”, pp.PKCity);
//Set personalization key values
pp.PKCity = @”Hull”;
[pp.save]; //save the new pk value.
while ([SampleApp_SampleAppDB hasPendingOperations])
[NSThread sleepForTimeInterval:0.2];