Troubleshooting

Debug a Form in the Browser

The SBCS Desktop Client displays a Form in the middle panel. If there is any error rendering or handling the error, this usually is displayed at the top of the panel. But if a Form does not work and there is no error displayed, you can debug the Form in a web browser.

Follow these steps to debug a Form in a web browser.

  1. Login to the SBCS Login Service in your browser.
  2. Open the frame page that will display the Form: https://sbcs.example.com/faw/resources/webview/. This page will be empty for now.
  3. Open the Form you want to debug in the SBCS Desktop Browser.
  4. Open the log file of the SBCS Desktop Client. Look for a line near the bottom of the log file that looks like this (it will record a call to window.ecm4uForm.renderJob):
2018-05-02 15:04:32,249 [DEBUG][forms.webview] window.ecm4uForm.renderJob("http://sbcs-appliance.ecm4u.intra/faw/api/v1/forminstances/532", "/faw", "599", "en", false)
  1. Copy everythinf from this line starting with window.ecm4uForm.renderJob.
  2. Open the web developer console of your browser that allows you to execute JavaScript.
  3. Paste the command that you've copied from the log file. Execute it.
  4. This will render the Form. You can now interact with it as you would in the SBCS Desktop Client except submitting it.
  5. You can use the web developer tools available in your browser to analyze the Form Instnace.