Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Deleted Retrieving the error message

More
22 Aug 2016 17:45 #21 by Thomas BLETON
Replied by Thomas BLETON on topic Retrieving the error message
Une solution possible est de doubler / échaper les apostrophes dans l'expression de la requête.
... VALUES ('%e(rhino){__ctx__.getVariableValue("~/ErrorString").replace("'", "''")}e(rhino)%');

Remarque : il faut employer du scripting rhino, de manière à bénéficier de la fonction replace().