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)
changing the instance of an item
mickdundee
Gidday all,
We have about 1500 dcrs, we originally intended the metadata keywords to entered as a replicant, but users have all been smarter than we thought and have entered them as a comma separated list without using the replicant feature.
here is my code
<item name="keywords" colspan="2">
<replicant max="25">
<item name="word">
<description>No more than 25 words and please do not repeat words.
</description>
<text required="f" size="50" maxlength="500" />
</item>
</replicant>
</item>
Can I change this to be just
<item name="keywords word">
<description>A comma seperated list, no more than 25 words and please do not repeat words.
</description>
<text size="50" maxlength="300" />
</item>
without losing what data we have across all dcr's.
Is their a better solution. Im doing this now to tidy up our dcrs, naturally I am trying to ensure consistency and don't want someone to start using this item now as originally intended.
Thank You
Find more posts tagged with
Comments
gzevin
unfortunately, this cannot be done so easily (if you change DCT structure so dramatically, it will most likely break the engine
).
What I'd suggest - create your *NEW* DCT, make a sample DCR, and then write a custom perl script that would make the OLD DCRs look like new ones (a simple substitution using regexes). if you run the script straight on the IFS, the DCRs will retain their EAs.
Greg Zevin
Independent Interwoven Consultant/Architect
Sydney, AU
b73 - update job status.png
b79 - start job status update.png
repositorymanager_xml-comment_out_job_status_update.png