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)
On save of every DCR of same datatype, want to create a meta file
Anil Kumar
We have a DCT, with we have already created 100 DCRs. For all this 100 DCRs, we have correspondingly 100 .aspx files which represents 100 pages. Now we have added 4 items in datacapture.cfg and started updating those items with values in all 100 DCRs. And we would like to extract those 4 items and wish to create a .meta file.
Suppose if my first.xml DCR has elements as below
<meta>
<desc content="some description"/>
<keys kw=" key words"/>
<auth author="Aneel"/>
<extra extra="some"/>
</meta>
I want to extract the above meta info and format in required style and save as first.meta
So that we can include this meta file in first.aspx
Any help how to achieve this without extra perl script.
Thanks, Aneel
Find more posts tagged with
Comments
Rick Poulin
You want to build custom functionality without writing new code? Good luck with that.
If the meta information is to be used only as an include for the .aspx file, then why not update your presentation template to embed that info directly in the generated .aspx?
If you must have it as a separate file for a reason you haven't mentioned, you can:
a) create a new presentation template to generate the .meta from the DCR
b) create a workflow task that triggers this for you
c) all of the above