EPortal.config Settings
Starting at 14.11, Employee Portal have its own config file (EPortal.config) that stores the site-specific information (SQL Server connection info and SMTP server settings or maybe others). Employee Portal now read the settings in EPortal.config. So EPortal.config will be a static file storing customer information that stays on the customer site.
Minimal EPortal.config settings
data source - the SQL server instance name (If you prefer using an IP address as a data source, please use the syntax something like that
<add key="data source" value="tcp:192.168.0.1,1433"/>)
initial catalog - the HRPro Application database name
user id - the SQL server User ID
password - the SQL server password for user id (see How to enable SQL Server Password Encryption in order to encrypt the password)
Completed EPortal.config settings
The completed EPortal.config settings of your version can be found in EPortal.full.config inside the App_Data folder of your website.
You can only put the keys you require into EPortal.config. If the key is missing in EPortal.config, the system will use its default setting.
IsSingleCompanyLogin: If set to true, the company selection combo box on the Home Page will be disabled.
PDFReportUseFontFile: If set to true, it is supported to export PDF with Chinese Characters normally without requiring the installation of Arial Unicode MS to the Server. See Why all Chinese Characters on the PDF report are displayed as rectangular boxes in HRPro Web Client/EPortal.
EPortalRootURL: When defined, it will replace the URL domain that is usually retrieved from the URL of the browser on all hyperlinks in all Email Notifications.
For database-specific settings, you can put the database name in front of the Key and separate it with a space, e.g
<add key="dbHRPro AttendanceRecordNoOfPeriods" value="99"/>
SMTP send wait: This is the number of seconds delay between two outgoing emails. This setting is to overcome the throttling limitation of some SMTP servers when submitting the message.
DefaultThemeColor: The possible values are Blue, Red, Green, Grey, Amber, Brown, Pink, Teal, Blue Grey, and Original Blue (See also Theme Colour in Employee Portal)
SessionTimeOut: It is the number of minutes that going to time out when no activity. The default is 600, i.e. 10 hours. If the user does not refresh or request a page within the timeout period, the session will end and return to the login page.
AllowSimultaneouslyLogin: When set to true, the same User ID can be logged in to multiple devices/browsers at the same time. It is not recommended to turn it on as it will produce weird results if both devices/browsers are operating the same function at the same time.
DisablePunchCard: If set to true, Punch Card will not be available on the Employee Portal menu.
DisableAllExceptPunchCard: If set to true, Punch Card will be available on the Employee Portal menu.
DisablePayrollRelated: If set to true, Payroll History, Mid-Month Payroll History, Download IR56B, and Download IR56M will not be available on the Employee Portal menu.
DisableAllExceptPayrollRelated: If set to true, Payroll History, Mid-Month Payroll History, Download IR56B, and Download IR56M will be available on the Employee Portal menu.
UseSecureCookies: This option ensures that cookies are only sent over secure HTTPS connections, which utilize SSL/TLS protocols to encrypt the data being transmitted. This option is specifically applicable to SSL/TLS connection.
You may have a permissions issue when you save the edited EPortal.config using Notepad. You can either
Save to desktop and copy back to the original location
Search Notepad, right click and select run as administrator and then open the file using the file open dialogue.
It is recommended to either recycle the Application Pool, restart IIS or restart the server after EPortal.config is amended.