Symptom
You have created a script with custom logic in a form template maintenance. Although the script works as expected when previewing the document in Adobe LiveCycle, the script is not applied when generating the document after uploading the template to the system.
Environment
- SAP Business ByDesign
- SAP Cloud for Customer
Cause
Console functions (such as console.println) are included in the template scripts.
In the server responsible for the form rendering, "console" is not defined. Considering this, during the rendering of the form template in the system the script line containing a console function raises an error, causing subsequent lines to not be executed.
Resolution
It is required that custom scripts in the form templates uploaded to the system do not contain calls to "console" functions
Keywords
XDP, ALD, XSD, XML, Event, Code , KBA , AP-RC-FF , Forms Flexibility , Problem