Hello,
Can someone direct me in a fix for this? I am getting this error when I click a button with code.
The error:
"The following error occurred:
Whitespace is not allowed at this location.
File:script.js
Line:99"
The jscript code behind the button works most of the time, but the above error also occurs sometimes for certain records that the button is supposed to retrieve data for from a secondary data source. I have done some testing and research on this and haven't had much luck. Any ideas on how to identify where these whitespaces are coming from and how I can use perhaps the normalize-space function? Is this even a problem I can fix in IP or am I going to have to resolve it from within SQL server?
Basically, how would I go about trimming text to make sure that whitespaces are removed either in my current jscript code setup or by using the normalize-space function via rules.
JIMMY, if are reading this, this is the jscript code you were helping with a little while ago. It works most of the times, but I need to be able to have it work all the time. What are your thoughts on these whitespaces?
Thanks to anyone who can help on this matter.
IP 2003