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.
- Login to the SBCS Login Service in your browser.
- Open the frame page that will display the Form:
https://sbcs.example.com/faw/resources/webview/. This page will be empty for now.
- Open the Form you want to debug in the SBCS Desktop Browser.
- 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)
- Copy everythinf from this line starting with
window.ecm4uForm.renderJob.
- Open the web developer console of your browser that allows you to execute JavaScript.
- Paste the command that you've copied from the log file. Execute it.
- This will render the Form. You can now interact with it as you would in the SBCS Desktop Client except submitting it.
- You can use the web developer tools available in your browser to analyze the Form Instnace.