Forums / General / Syntax for object name pattern
Marc Boon
Thursday 09 March 2006 7:10:49 am
What are the possibilities here?
I have seen: <title> (taking the value of an attribute) and<short_title|title> (taking the value of an attribute if it exists, or the value of another attribute as a fallback value)
I also tried:name (literal name)
But I would like to be able to do this: <short_title|'default'>Use the value of attribute 'short_title' if it exists, or a hardcoded default name otherwise.
Is this possible, and how?What other object name patterns can I use?