The PersonalizationParameters class is generated automatically for managing personalization keys. When a personalization parameter value is changed, the call to save automatically propagates the change to the server.
Consider a personalization key "pkcity" that is associated with the synchronization parameter "cityname". The following example shows how to get and set personalization key values:
//get personalization key values SMP101PersonalizationParameters *pp = [SMP101SMP101DB getPersonalizationparameters]; MBOLogInfo(@"Personalization Parameter for City = %@", pp.PKCity); //Set personalization key values pp.PKCity = @"Hull"; [pp.save]; //save the new pk value. [SMP101SMP101DB synchronize];
If a synchronization parameter is personalized, you can overwrite the value of that parameter with the personalization value.