Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Saving DCR element within CDATA tag
sabih
Is there a way to design a DCT so that the content of an item like textarea is saved within the CDATA tag in the DCR.
Find more posts tagged with
Comments
Migrateduser
No. Why would you need to? <, >, and so on should be automatically replaced with the appropriate entity references.
sabih
We need to pass the data directly thru DCR instead of rendering it in the TPL.
nipper
You could probably write an onsave event, that after the save happens, it opens the DCR, massages
the data however you want it & resaves.
Might be easier to write a PT to save it your way, but the FormAPI would be easier on the end users.
HTH
me
iwovGraduate
We need to pass the data directly thru DCR instead of rendering it in the TPL.
Now sure what you mean by this. What exactly are you trying to do ?
DCRs will be saved with UTF8 encoding. You can just convert it to whatever encoding you need when you process it outside of PT.