In order to configure the server hosting your web mapping application to use the Public Access module, you must perform the following tasks:
- Open the Public Access web.config file using a text editor such as Notepad.
-
In the Hyland.Web.PublicAccess section, modify the user and password properties as required. Specify the user name and password of a valid OnBase account to restrict user's access to documents using that user's permissions.
For example:<user value="GISPublicUsers" password="MyPassword"/>In this example, users will be able to retrieve and view any documents that can be accessed by the OnBase user GISPublicUsers.
-
In the Hyland.Web.PublicAccess section, set the datasource property to your OnBase database.
For example:<datasource value="MyDataSource" />
- In the appSettings section, set the EncryptDocID property to false.
- Save and close the Public Access web.config file.
- Open the OnBase GIS Service web.config file using a text editor such as Notepad.
- Set the ViewerURL property to the PublicAccessProvider.ashx URL of your solution's Public Access (for example, http://localhost/PAV12/PublicAccessProvider.ashx).
- Set the SecureDocId property to false.
- Save and close the OnBase GIS Service web.config file.