Forum Discussion
WendyShoef
7 years agoQrew Cadet
What is wrong with this formula?
var text thisText = [Body];
$thisText = SearchAndReplace( $thisText, "[PC]", [Case - PC Full Name]);
$thisText
var text thisText = [Body];
$thisText = SearchAndReplace( $thisText, "[PC]", [Case - PC Full Name]);
$thisText
WendyShoef
7 years agoQrew Cadet
I get an error.
Inside the formula it says "Expecting text but found Boolean"
On save I get this error:
There are extra characters beyond the end of the formula.
var text thisText = [Body];
$thisText = SearchAndReplace( $thisText, "[PC]", [Case - PC Full Name])
$thisText
I have tried it with and without a semi-colon after the ) on the line of $thisText.
FYI: I did just write a .js script file using the [iol] method to do all of the search and replace, format the dates, and then write the value back to the field. After a little bit of tinkering with your API, it all was pretty simple. I know you have answered a couple of my other questions (it's all related) and want to say thanks.
Inside the formula it says "Expecting text but found Boolean"
On save I get this error:
There are extra characters beyond the end of the formula.
var text thisText = [Body];
$thisText = SearchAndReplace( $thisText, "[PC]", [Case - PC Full Name])
$thisText
I have tried it with and without a semi-colon after the ) on the line of $thisText.
FYI: I did just write a .js script file using the [iol] method to do all of the search and replace, format the dates, and then write the value back to the field. After a little bit of tinkering with your API, it all was pretty simple. I know you have answered a couple of my other questions (it's all related) and want to say thanks.