How to configure the Thai calendar in ADSelfService Plus

How to configure the Thai calendar in ADSelfService Plus

Objective   

This article details how to configure ADSelfService Plus to display dates according to the Thai calendar format (Buddhist Era). This setting is useful for organizations in Thailand or when your domain controllers are set to the Thailand locale.

Prerequisite   

  • Have administrative access to the ADSelfService Plus portal. Depending on the method you choose, you may also need direct access to the application database (PostgreSQL or Microsoft SQL) used by ADSelfService Plus.

Steps to enable the Thai calendar 

You can enable Thai calendar support using either of the following two methods:
Method 1: Through the ADSelfService Plus portal  
  1. Log in to the ADSelfService Plus admin portal.
  2. Navigate to the Support tab.
  3. On the top-right corner of the Support page, click the More link next to the Create Log section.
  4. On the System Parameters Configuration page, locate the USE_THAI_CALENDAR parameter in the list.
  5. If the parameter exists, edit the Param Value to true, and click Save.
  6. If the parameter does not exist, click the Add/Update button and fill in the details as follows:
    • Param Name: USE_THAI_CALENDAR
    • Param Value: true
  7. Click Save to apply the configuration.
Method 2: Using a direct database query
Notes
Note: This method should be used only if you are comfortable with SQL queries and have made a complete database backup.
  1. Connect to the database used by your ADSelfService Plus instance.
  2. Run the following SQL query to check if the parameter already exists:
Info
SELECT * FROM SystemParams WHERE param_name = 'USE_THAI_CALENDAR';
  1. Based on the result:
    1. If the query returns a result, update the existing parameter:
Info
UPDATE systemparams set param_value = 'true' where param_name = 'USE_THAI_CALENDAR';
    1. If the query returns no results, insert the new parameter:
Info
INSERT INTO SystemParams (system_param_id, param_name, param_value) VALUES ((SELECT max(system_param_id) FROM SystemParams) + 1, 'USE_THAI_CALENDAR', 'true');
  1. After running the query, restart the ManageEngine ADSelfService Plus service for the change to take effect.

How to reach support                                 

If the issue persists, contact our support team here

                  New to ADSelfService Plus?

                    • Related Articles

                    • ADSelfService Plus product startup issues

                      What do you need to know before troubleshooting You need to have administrator access to ADSelfService Plus. When you experience an error with ADSelfService Plus, check if these prerequisites are satisfied: Install ADSelfService Plus as a service ...
                    • Bind ADSelfService Plus to run on a specific virtual IP address

                      Description You can configure ADSelfService Plus to run on specific IP address. Resolution Step 1: Create a virtual IP Address on the machine where ADSelfService Plus is running. Start → Settings → Control Panel → Open Network connection. Right click ...
                    • Multi-factor authentication techniques in ADSelfService Plus

                      Let's take a look into the various authentication methods supported by ADSelfService Plus for enterprise multi-factor authentication (MFA). Why should you use MFA? Authentication based solely on usernames and passwords is no longer considered secure. ...
                    • How to configure custom SMS provider in ADSelfService Plus?

                      ADSelfService Plus lets you use any one of the following methods to send an SMS: GSM modem Clickatell (built-in support) Custom SMS gateway Configuring custom SMS gateway You can configure a custom SMS gateway to send notifications and verification ...
                    • How to deploy ADSelfService Plus over the internet?

                      Description Deploying ADSelfService Plus over the internet will allow end-users who are on the move to access the tool from anywhere, anytime. Resolution Register an IP address (say 64.12.13.11) and a public hostname (like ...