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)
Best practise for assigning DCR names
System
On a Teamsite implementation project that I am working on, there are the following requirements for identifying unique names of DCRs :
1. DCR names should be user friendly
2. The uniqueness of the names should be ensured
3. The names should be generated dynamically (we should be able to write a Perl script or Java code to generate these names)
Some DCRs contain articles on specific topics. Some of the other DCRs contain information about digital assets (flash files, images, documents etc).
Have you come across a similar situation before?
We plan to extract the title of the article or the file name of the digital asset and append it to a unique identifier to generate the DCR name.
Do you know a better approach? Is there a best practice for naming DCRs?
Find more posts tagged with
Comments
Migrateduser
Scraping info out of the DCR + unique ID to set the name of the DCR should work as long as the info you are scraping out of the DCR does not change too much.
If you use a field such as title to base the filename, and the title field tends to change, you will have to figure out whether you want to update the name upon changes of the title, or stick with the original name.
My question to you is, how will you enforce the file name? A workflow? A nightly script that parses all the dcr directories?
One way is let the user name it whatever they want, and upon a save and exit, kick off a workflow on the tt_data trigger and rename the DCR and reset the EA's. You might also want to send an email to the creator of the DCR and let them know what the new name is.
If the users will be searching the data directory for existing dcrs (Edit > Edit Data Record), you may also want to use a directory structure under data instead of keeping everything in one dir. If you have 100+ dcrs, the people that need to to sort through the directory and find their existing DCR will not be happy.