Starting at 14.11, Employee Portal have it own config file (EPortal.config) that stored the site specific information (SQL Server connection info and smtp server settings or may be others). Employee Portal now read the settings in EPortal.config. So EPortal.config will be a static file storing customer information that stay on customer site.
Minimal EPortal.config settings
data source - the SQL server instance name (If you prefered using IP address as 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)
Minimal EPortal.config settings for Desktop Client Only Installation
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 web site.
You can only put the keys you required into EPortal.config. If the key is missing in EPortal.config, system will use it default setting.
If IsSingleCompanyLogin is set to true, the company selection combo box on Home Page will be disabled.
If PDFReportUseFontFile is set to true, it supported to export PDF with Chinese Characters normally without requiring install Arial Unicode MS to the Server. See Why all Chinese Characters on the PDF report displayed as rectangular box in HRPro Web Client/EPortal?
If EPortalRootURL is defined, it will replace the URL domain that usually retrieve from the URL of the browser on all hyperlinks in all Email Notifications.
PAYSLIP_TOP_MARGIN and PAYSLIP_TOP_MARGIN for the download Pay Slip usually are defined from Payroll Module Setup, Pay Slip tab. However if user are unable to define them because no Web Client installed. These setting will overwrite the Payroll Module Setup.
For database specific settings, you can put the database name in front of the Key and separated with a space, e.g
<add key="dbHRPro AttendanceRecordNoOfPeriods" value="99"/>
The smtp send wait is the number of seconds delayed between two outgoing emails when Enable Background Email is turned off. This setting is to overcome the throttling limitation of some SMTP servers when submitting message.
The possible values for DefaultThemeColor are Blue, Red, Green, Grey, Amber, Brown, Pink, Teal, Blue Grey and Original Blue (See also Theme Colour in Employee Portal)
You may have permission 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 dialog.