To install and configure the web approval functionality, you must modify a file on the Smart Materials application server and specify a database setting in the software.
The Smart Materials installation creates a user called M_APPROVE with the password M_APPROVE in the database. It is highly recommended to change the password after the installation.
-
On the application server, modify the formsweb.cfg file as follows. For more information about formsweb.cfg customization, see Configure Formsweb.cfg.
Add these lines to the config file:
[appr_login]
pageTitle=SMat 8.0 Direct Approve
WebUtilArchive=frmwebutil.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
otherparams=t_id=%t_id%
form=www_approve.fmx
userid=m_approve/m_approve@smat8
separateFrame=True
lookandfeel=Generic
width=768
height=632
workingDirectory=C:\smat8\fmx
splashScreen=no
-
If you have changed the password for M_APPROVE, replace the password with the correct value in the line starting with userid=.
-
Log in to Smart Materials, and open the A.60.04 DBA Settings screen.
-
On the Application Server Specific Settings tab, select the WEB_APPROVAL_URL setting.
-
In the DBA Setting Values block, enter the start address for the forms configuration in the Setting Value field.
Example: http://<servername>/forms/frmservlet?config=appr_login
Remember to also select the Active check box.
Optionally, you can modify the custom package m_pck_approval_custom to customize the web approval form.