You can copy the playgrounds used in this chapter from the Playground.txt file in folder <SMAT_HOME>\others\playground_templates.
-
Copy the JAR files from <SMAT_HOME>\java\iAS\applet_classes to the <ORACLE_HOME>\forms\java directory.
-
Open directory:
C:\iAS_12c\user_projects\domains\base_domain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_12.2.1\config
-
Open formsweb.cfg with an editor.
-
To create a playground, add lines as shown in the example below.
[SMAT]
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,spmaticon.jar
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=combos=n obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
WebUtilArchive=frmwebutil.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
pageTitle=SMAT 10.2.0.0
workingDirectory=c:\smat\fmx
form=logon.fmx
userid=m_login/m_login@smat
separateFrame=True
lookandfeel=Generic
width=1280
height=960
splashScreen=SMaterials_SPlash2016.png
logo=AboutBx_Headere.jpg
background=SMaterials_SPlash2016.png
-
If you want to use Esupplier, you must add an additional playground as shown below.
[supplier_entry_smat]
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,spmaticon.jar
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams= obr=%obr% record=smatico%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
WebUtilArchive=frmwebutil.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
pageTitle=SMAT 10.2.0.0
workingDirectory=c:\smat\fmx
form=www_sup_entry.fmx
userid=m_login/m_login@smat
separateFrame=True
lookandfeel=Generic
width=1280
height=960
splashScreen=SMaterials_SPlash2016.png
logo=AboutBx_Headere.jpg
background=SMaterials_SPlash2016.png
-
If you want to use the web approval feature of Smart Materials Web, add another playground as shown below.
[appr_login]
##HTMLbeforeForm=<CENTER><IMG SRC = "/marian_webentry/SMaterials_Splash_2016.png" width=500 height=300 ALT="INTERGRAPH Smart Materials (c) 2016"><BR> Please be patient while Smart Materials loads. <BR> Note: Closing this Browser window will end your Smart Materials session.<BR> </CENTER>
separateFrame=True
#separateFrame=False
lookandfeel=Generic
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,spmaticon.jar
otherparams= t_id=%t_id% obr=%obr% record=%record% tracegroup=% tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
# Note: baseSAAfile must end wspmatith .txt
WebUtilArchive=frmwebutil.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
workingDirectory=C:\SMAT\fmx
form=www_approve.fmx
userid=m_approve/m_approve@smat
lookandfeel=Oracle
width=1280
height=960
splashScreen=SPMaterials_SPlash_2016.png
logo=INGR.jpg
background=SPMaterials_SPlash2016.png
#colorScheme=Purple
-
Change the WorkingDiretory in all copied playgrounds to <SMAT_HOME>\fmx (replace <SMAT_HOME> with your Smart Materials working directory).
For example:
WorkingDirectory=c:\Program Files\INTERGRAPH\Smart Materials Classic 10.3\fmx
-
Save and close formsweb.cfg.