If you are launching a non-deployed WCC application locally to test it during development, forms will not open without performing the work around described here.
For more information about issues with launching applications from the local file system, also see Cross-Domain Scripting.
To configure your application so that forms will open properly when testing from the local file system, follow the procedure below.
Procedure
-
Open the application’s launch fragment with a text editor.
-
Locate the following line:
<script type="text/javascript" language="javascript" src="../bpmresources/formsclient/formsclient.nocache.js"></script>
-
In the src attribute, replace the ‘..’ with ‘http://Host:Port’,
- Host is the name or IP address of the machine hosting the BPM runtime. Port is the port number used by the ActiveMatrix WebApp Implementation Type to communicate with web applications.
For example:
<script type="text/javascript" language="javascript" src="http://Austin:8080/bpmresources/formsclient/formsclient.nocache.js"></script>
Also note that the httpConnector cannot be running SSL for this procedure to work, that is, the URL must include ‘http’, not ‘https’.
-
Save and close the launch fragment.
Note: Important: Before deploying your application, ensure that you reverse the changes you made in this procedure.
Copyright © Cloud Software Group, Inc. All rights reserved.