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)
xml-stylesheet
t_e_e
I need a declaration to an xml stylesheet to appear in my data capture record.
Does anyone know the best way of doing this?
Find more posts tagged with
Comments
Rick Poulin
You can't really do this. The DCT only allows you to control the body of the XML document, not the processing instructions. Best you can do is inject that through workflow, but then when someone edits the DCR your stylesheet directive will disappear again. Perhaps you can catch the save event with an iwat trigger, but I'd call that less than robust.
I'm assuming the idea is to be able to have business users look at DCRs in a browser, from outside of TeamSite (e.g. sending them by email). I'd suggest that instead of just grabbing the DCRs off the file share (or downloading through the UI), build a small "extract from teamsite" screen or workflow that creates temporary copies of the records and injects the stylesheet processing instruction into those, and then send those copies off to wherever.