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)
iwextattr problems
MoReese
I am currently using script get_attributes.ipl and set_attributes.ipl as defined in the interwoven docuement "Extended attributes migration". The set_attributes.ipl script may try to exectute a cmd such as the following:
iwextattr -s /description/language=English //IWSERVER/default/main/
dev/WORKAREA/andre/products/index.html
This works fine, but if the attributes value is multiple words with a space, then it fails (this is the case frequently for me). For example:
iwextattr -s /description/language=Broken English //IWSERVER/default/main/
dev/WORKAREA/andre/products/index.html
This statement would fail in the script. Is this a limitation of the script? How can I migrate extended attributes that contain spaces in the valule? Is there a workaround?
Thanks,
Jay
Find more posts tagged with
Comments
nipper
Since I do not have this script, it is hard to debug. Was this from a KB article ?
It certainly does sound like a bug since
iwextattr -s test=blah blah ./test.pl fails but
iwextattr -s test="blah blah" ./test.pl works
If you can edit the set attribute script then you will
have to quote the attribute before the system command.
Of course " is a special character, so you will have to quote
it to quote the attribute.
Probably best to make a test copy that you can run from the
command line and play with it.
Then file a bug.
Andy
Migrateduser
Try -
iwextattr -s /description/language='Broken English' //IWSERVER/default/main/
dev/WORKAREA/andre/products/index.html
/Nick
johnjamesmarsh
You can also have:
iwextattr -s "Attribute With Spaces"="Value With Spaces" //IWSERVER/default/main/
dev/WORKAREA/andre/products/index.html
John