`
Mobile Accelerator for Oracle Service Cloud — November 2016
Top of Topic

Create the time zone configuration setting

You can create a custom configuration setting for your local time zone in Oracle Service Cloud (the default is America/Los_Angeles, or US Pacific Time). The local time will be displayed in detail views, such as when viewing individual incidents, but not in list views.

Before you begin

You can use the CUSTOM_CFG_Accel_Mobile file as a template; it is in the imports/custom_configuration folder that you downloaded.

About this task

This procedure assumes that you have not already created a custom configuration setting for push notifications, such as in Create the custom configuration setting. If you have already created the configuration setting, you can edit it to add the time zone setting.

Procedure

  1. In Oracle Service Cloud, click the Configuration button on the navigation pane.

  2. Under Site Configuration, double-click Configuration Settings.

    The Configuration Settings editor appears, with the search window open.

  3. Click Cancel to close the search window.

  4. Click New in the ribbon, then select Text.

  5. Fill in the following fields:

    Field Value
    Key CUSTOM_CFG_Accel_Mobile
    Type Interface
    Required Yes
    Default
    { 
      "hosts":[ 
          { 
            "rnt_host":"https://your_site_interface",
            "server_timezone":"country/city",
            "push_notification":{ 
             ...
            }
          }
      ]
    }

    where:

    your_site_interface is the name of your site, for example, mysite.example.com

    country/city is the time zone in tz format, for example, America/New_York

    For more information, see List of tz database time zones.

    Maximum Length 300000

  6. Click Save & Close.

Results

CUSTOM_CFG_Accel_Mobile is listed in the Configuration Settings editor when you search for settings in the Custom folder. Time stamps in detail views in the mobile application will be expressed in the time zone that you have set.