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)
Update "modifiedby" attribute of folder
swati_27
Hi All,
We have a requirement to update the "modified by" attribute appearing on a directory when a user performs any operation(save,copy,move) in that directory. By default if we create a folder the modifier is the person who created it but even when other user tries to copy something to that directory, directory still displays the modified by value as the person who initially created it.
As per my observation this is not possible by default, Is there something custom that can be done using CSSDK to touch the directory or do some minor update to directory properties so it displays the last modified as the user performing update to the directory content. This is valid only for the parent directory and not to the complete structure.
Find more posts tagged with
Comments
Adam Stoller
I don't think you'll find anything to do that because the directories don't get versioned. Directories either don't exist, or they do exist, but there are no
versions
of them in the TeamSite virtual file system, and thus TeamSite doesn't really care about who last modified the directory. You
might
be able to find a way to modify the directory's properties in the workarea - but you won't change the properties of the directory in the staging area unless you actually delete the directory and re-create it.
If you want to try something rather complex that
might
provide the results you're looking for (not sure, I'm not trying this out right now - just going from the top of my head) - try this: