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)
Copying a data record
brianmat
I have created a new template in a new folder based off of an older template design. I would like to import all of the data records from the old template into the new data folder. When I a copy or move I lose the metadata associated with the data record. Is there an *easy* way to handle moving these to additional folders?
In a nutshell, I have created a template that takes the place of 3 older templates and I would like to eventually move all of the data records into the new folder.
I did see a note about running iwextattr, but I could not be sure that this was the same situation that I am in.
Thanks in advance.
Find more posts tagged with
Comments
Jeremy
From what I understand you could use iwcp - an Interwoven copy command. This command keeps the extended attributes.
Hope it helps.
Jeremy
nipper
There is also an article in devnet with NT and Unix shell scritps to do this. If you are moving accross systems you will need it.
BTW, the script is a good start, however it does fail on more complex EAs. I think it chokes on having spaces in the value. An easy fix
Andy
GetUCFConnection.java
Migrateduser
When a DCR is copied or moved, you may need to reset the extended attributes. In 552 (and probably previous versions of TeamSite) extended attributes are retained if copied through the GUI. If they are copied on the command line with the OS's cp/copy command they will most likely be lost unless someone has setup a custom trigger. Addtionally, the 'iwcp' command can be used to retain attributes when copied.
Anyway, it sounds like you have created a new templating type? Is that what you mean by new folder? In this case, you will need to set the EA's to reflect the new templating type.
To set/reset the extended attribute on a DCR, you can use:
iwexattr -s TeamSite/Templating/DCR/Type=<category>/<type> <dcr>
Replace category and type with your values. So if my DCR is named 'foo' is of the category/type 'internet/press', I would issue this command on my DCR.
iwexattr -s TeamSite/Templating/DCR/Type=internet/press foo
--
Interwoven Consultant