Have you recently tried adding a red dot inside of a render tag? Chances are (100% chance) the code below will stop the render tag code inside the template from working.
The problem is that OpenText has changed the mechanism on how to represent a RedDot dot in the script code which caused the XML parser working differently as before. Here’s a workaround a friendly helper from OpenText recently shared with me to get this working:
Based on the parser change, there is a way to replace “//<![CDATA[" and "//]]>” code within the Render Tags.
You need to modify the main.config file, which is locating at ASP folder(<Open Text Install directory>WSMSASP).
Insert these two new replacement instructions into the main.config file:
<Replace trim="true"> <OldValue>//<![CDATA[ </OldValue> <NewValue><![CDATA]> </NewValue> </Replace> <Replace trim="true"> <OldValue>//]]> </OldValue> <NewValue> <![CDATA]> </NewValue> </Replace>
This piece of code has to be inserted into at the beginning of the <Configuration><Rendering><Preparse><SpotParse> block, eg:
==================================================== <Configuration> ......... ...... <Rendering> <Preparse> <SpotParse> THESE TWO NEW REPLACES .......... ............ </Configuration> =====================================================
Save the main.config file (make sure you backup the original one), then restart the RedDot CMS Services to let the changes take effect.
As always try this one your testing environment first. Good luck and godspeed.
No related posts.