Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to get file properties?
foogoo
Hi,
Could anyone help me on how I can go about getting the file properties?
I want to set the value "Modified By" of dcr as one of the extended attributes.
Thanks in advance,
Ben
Find more posts tagged with
Comments
Migrateduser
You can use the iwextattr command located in iw-home/bin to set the extended attribute. As for getting the Modified user, you can look at the CC Professional to see who the modified by is set. If you are using it through workflow, you would either use perl if you are using perl or use the cssdk if you are using java to get the properties of the file.
nipper
Try these from a command line, see if any of the information is appealing. iwattrib -l shows all the attributes available.
cd y:/default/main/mybranch/WORKAREA/Content/templatedata/some/dir/data
iwattrib -l somefile.xml
iwattrib somefile lastuser
iwrlog -m somefile.xml
foogoo
Thanks, It is working