One moment please...
 
Exact Synergy Enterprise   
 

How-to: setting up public website

Introduction

Creating and maintaining a website is one of the useful functions provided by Exact Synergy Enterprise. This document provides the essential steps in setting up a public website. For detailed explanations of the fields and functionality, see Creating and modifying web sites.

Description

To set up a public website, the following are required:

Defining the public website layout

  1. To define the layout of the public website, go to Document/Setup/Maintenance/Web Sites and click New.
  2. Enter the description or name of the public website for reference or identification purpose.
  3. Select Active check box.
  4. Select the preferred layout of the public website from the four predefined layout.
  5. At Type, select Standard.
  6. At Domain, type the Host Header name of the website. For example, www.deltabike.com. (The Host Header name must be recognized by the server hosting the public website.)
  7. In the Frame - Content section, select the content page to be displayed when the user access the website.
  8. Click Save to save the public website layout that you have created.

For more details, see Creating and modifying web sites.

Top

Creating public user access rights

Ensure that the humres table in your database has a record with usr_id = "ExactWebGuest" and res_id = -2.

If no record exists, then execute the SQL statement as below:

Since PU 220
 
insert into humres (res_id, fullname, sur_name, usr_id, job_level, blocked,land_iso,ldatindienst,repto_id,comp,emp_type,emp_statd,emp_stat, UserLicenseType) values(-2,'ExactWebGuest','ExactWebGuest','ExactWebGuest',0,0,'ES',getdate(),1,'001 ','E',getdate(),'A',100)
 
Since PU 244
 
insert into humres (res_id, fullname, sur_name, usr_id, job_level, blocked,land_iso,ldatindienst,repto_id,comp,emp_type,emp_statd,emp_stat, UserLicenseType) values(-2,'ExactWebGuest','ExactWebGuest','ExactWebGuest',0,0,'ES',getdate(),1,'001 ','E',getdate(),'A',100)
insert into HRRoles (ID,RoleID,EmpID,RoleLevel) values (newid(),92,-2,3)
 
For example :

insert into humres (res_id, fullname, sur_name, usr_id, job_level, blocked,land_iso,ldatindienst,repto_id,comp,emp_type,emp_statd,emp_stat, UserLicenseType) values(-2,'ExactWebGuest','ExactWebGuest','ExactWebGuest',0,0,'ES',getdate(),1,'<Default division code> ','E',getdate(),'A',100)
insert into HRRoles (ID,RoleID,EmpID,RoleLevel) values (newid(),92,-2,3)
 
<Default division Code>  = 001
 
Note: The ExactWebGuest is a Full suite user and it does not count towards the number of user licenses.

Top

Configuring Internet Information Server (IIS)

Configuring IIS6

  1. Go to IIS, right-click on Default Web Site and then select New/Virtual Directory.
  2. Click Next to proceed.
  3. Under Alias, create a new virtual directory called "PublicWeb" and then click Next.



  4. Next, specify the Exact Synergy Enterprise Installation Directory as the website content directory. For example, C:\SynergyEnterprise.

     

  5. Click Next until a PublicWeb virtual directory is created. 
  6. Now, right-click on the PublicWeb virtual directory, and click on Properties.
    1. Click the Enable Default Document check box and click Add to add the PublicDefault.aspx in the Documents tab and click Remove to remove the rest of the default document.



    2. In the Directory Security tab, make sure the Anonymous access check box is selected and Integrated Windows authentication check box is cleared.



    3. At the ASP.Net tab, ensure that the ASP.Net version is 2.0 and above.



    4. Click Apply to complete the IIS Setup.

Configuring IIS7

  1. Go to Start and select Administrator Tools followed by Internet Information Services (IIS) Manager.
  2. Go to Sites. Right-click on Default Web Sites and select Add Application.
  3. Under Alias, create a new virtual directory called "PublicWeb". Select DefaultAppPool at Application pool and specify the Exact Synergy Enterprise installation directory as the website's content directory. For example, C:\SynergyEnterprise.



  4. Click OK to create the virtual directory.

     

  5. Select the PublicWeb virtual directory created.



  6. Click Default Document to add PublicDefault.aspx and remove the rest of the default document.

     

  7. Next, click Authentication to enable the Anonymous Authentication and disable the Windows Authentication to complete the configuration.

     

Top

DB.Config setting

  1. Open db.config file from the installation folder, for example C:\SynergyEnterprise using Notepad.

  2. Add the following Database settings to the db.config file according to your setup environment as highlighted in red below.

Top

ASPX setting

  1. Make a copy of the Default.aspx from the Installation Folder in C:\SynergyEnterprise and name the new file as "PublicDefault.aspx".
  2. Open PublicDefault.aspx using Notepad, and you will see the following content.
  3. Replace the text "Portal.aspx" with "SysWebSite.aspx" as shown below.
  4. Save the file and exit.

Top

Viewing the public website

  1. Now, you can view the public website.
  2. Open Internet Explorer and type http://localhost/PublicWeb in the Address bar.

Top

Related documents

     
 Main Category: Support Product Know How  Document Type: Online help main
 Category: On-line help files  Security  level: All - 0
 Sub category: Details  Document ID: 17.667.379
 Assortment:  Date: 01-08-2018
 Release:  Attachment:
 Disclaimer