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.
- To instantiate a PersonalizationParameters object, call the generated database instance's getPersonalizationParameters method:
PersonalizationParameters pp = SMP101DB.getPersonalizationParameters();
- Assign values to the PersonalizationParameters object:
pp.setPKCity( "New York" );
- 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().
- Synchronize the PersonalizationParameters
value to the SAP Mobile Server: