Specifying Personalization Parameters

Use personalization parameters to provide default values used with synchronization, connections with back-end systems, MBO attributes, or EIS arguments. The PersonalizationParameters class is within the generated code for your project.

  1. To instantiate a PersonalizationParameters object, call the generated database instance's getPersonalizationParameters method:
    pp = [SUP101SUP101DB getPersonalizationParameters];
  2. Assign values to the PersonalizationParameters object:
    pp.Pkcity = @"New York";
  3. Save the PersonalizationParameters value to the local database:
    [pp save]
    Note: If you define a default value for a personalization key that value will not take effect, unless you call [pp.save].
  4. Synchronize the PersonalizationParameters value to the Unwired Server:
    [SUP101SUP101DB synchronize];
Related reference
Personalization APIs