For a printable version of the Customer Web Access topics, click here: http://ws4.insightdirect.com/Download/Website/docs/Customer_Web_Access.pdf
Previous Topic: Configure IIS
There are two ways to configure the settings for the page your customers will use to access ServiceCEO:
Before you configure any of the global.asa or style.css settings, you must first stop the default web site:
Expand the folders until you find the Default Web Site icon. You should find it in the Internet Information Services/(name of the web-server)/Web Sites/ directory.
Right-click on the Default Web Site icon and select Stop from the pop-up menu.
When you have completed editing the global.asa and/or style.css files, start the default website:
Open the IIS management module.
Right-click on the Default Web Site and select Start from the pop-up menu.
Close the IIS management console.
The global.asa files contains many of the global parameters used to generate the customer web access site. There are three main actions you will perform in this file:
Defining your Company Information. Required!
Three settings must be set before any customers can login to the Customer Web Access site:
Company Name
Your Contact E-mail Address
The Company URL
To define these settings and more:
Right-click on Default Web Site and select Stop from the pop-up menu.
Open global.asa using Notepad. Note that global.asa is located in C:\Inetpub\wwwroot\WebAccess.
Scroll down to the Database Configuration Options section:
|
'Preferred output formats |
By default, dates are displayed in a mm/dd/yyyy format. For example, July 4th, 2005 is displayed as 07/04/2005. If you want to display dates in the dd/mm/yyyy format, replace the Session("DateFormat") = "mm/dd/yyyy" ' or "dd/mm/yyyy" with Session("DateFormat") = "dd/mm/yyyy".
By default, time is displayed in a 12 hour format (i.e., using AM and PM times). To use the 24-hour format, replace the Session("TimeFormat") = "12" ' or "24" line with Session("TimeFormat") = "24".
You can choose to have an e-mail sent every time a customer enters a note to a future job or feedback about a past job. To do so, type the appropriate option in the Session("iCancelEmail") = 1 line. Your options are:
0. No e-mail will be sent.
1. The default value. An e-mail will be sent to the e-mail address defined in the Company Information dialog box.
2. Enterprise users only. An e-mail will be sent to the e-mail address defined for the customer's region (as defined in the Company Information dialog box).
3. Enterprise users only. An e-mail will be sent to the e-mail address defined for the customer's region (as defined in the Company Information dialog box).
You can define the e-mail address that will appear as the From address for all of these notification e-mails by replacing webserver@yourcompany.com with a new e-mail address in the Session("sEmailFrom") = "webserver@yourcompany.com" line.
Scroll down to the Graphical Configuration Options section:
|
Variable Description |
Type the name of your company into the Session("company") line, replacing Your Company. For example, if you worked for Insight Direct, the line would read:
Session("company") = "Insight Direct"
Type your company name in the Session("e-mail_contact") line, replacing you@yourcompany.com. For example, if you wanted customers to send their e-mails to info@insightdirect.com, the line would read:
Session("e-mail_contact") = "info@insightdirect.com"
Type the URL for the customer web access site into the Session("your_web") line. For example, if your URL was http://www.insightdirect.com, the line would read:
Session("your_web") = "http://www.insightdirect.com"
|
Note: |
|
|
Caution: |
Save the global.asa file in the same location as before (C:\Inetpub\wwwroot\WebAccess).
When prompted, overwrite the existing file.
To give customers the ability to view any documents that may be attached to their record:
Open global.asa using Notepad. Note that global.asa is located in C:\Inetpub\wwwroot\WebAccess.
Scroll down to the following snippet of code:
|
-------------------------------------------------------------------- |
Change Session("show_docs") = 0 to Session("show_docs") = 1.
Save the global.asa file in the same location as before (C:\Inetpub\wwwroot\WebAccess).
When prompted, overwrite the existing file.
To give customers the ability to access a list of their on-site equipment via the web interface:
|
Note: |
|
-------------------------------------------------------------------- |
Change Session("show_equip") = 0 to Session("show_equip") = 1.
Save the global.asa file in the same location as before (C:\Inetpub\wwwroot\WebAccess).
When prompted, overwrite the existing file.
To change the currency symbol that's used in the customer web access pages:
Open global.asa using Notepad. Note that global.asa is located in C:\Inetpub\wwwroot\WebAccess.
Scroll down to the following snippet of code:
|
--------------------------------------------------------------------- |
To change the currency symbol from the U.S. Dollar sign ($), change 1036 in the Session("format_currency") = 1036 line to the country code you want to use. For example, to use the UK Pound symbol (£), replace 1036 with 2057. For a complete list of country codes, point your browser to http://www.w3schools.com/vbscript/func_setlocale.asp.
|
Caution: |
Save the global.asa file in the same location as before (C:\Inetpub\wwwroot\WebAccess).
When prompted, overwrite the existing file.
You can change the color settings of your site by changing the following settings in the style.css file:
|
Variable |
Description |
|---|---|
|
.login_border_color |
Color of the login / logout border / login and logout box top color |
|
.box_bg_color |
Color for the login / logout box background |
|
.table_colorl |
Color for the tables in the my account screen |
|
.menu_bg_color |
Color for the menu at the top of each page |
|
.footer_bg_color |
Color for the footer of each page |
|
,app_border_color |
Color of the border around each page |
|
.menu_opt_color |
Color for the menu links at the top of each page |
|
.table_width |
Set the width for the table on each page. This can be set as a percentage or a pixel amount |
|
.info_table1 |
Color for alternating rows of information |
|
.info_table2 |
Color for alternating rows of information |
Note that more complex branding and customization may be made by editing the ASP files directly, but great care should be taken not to interfere with any scripting which accesses the data source. Complete, thorough documentation of your settings will speed the process of assimilating your changes into any updated ASP pages shipping with future versions of the ServiceCEO Customer Web Access feature.
Next Topic: Test the Connection
Back to Customer Web Access Table of Contents