Imagine I have a Team object with team_number and team_nickname fields. The team_number will always be set, but the nickname may not. Can I use #EVAL[] in a Record Name template to set the name to "team_nickname" if it exists, or "Team #{!team_number}" if it does not?
Update - I found the page (162) in Rollbase in Action that gives an example using #EVAL for a checkbox and the shortcut ( expr ? true : false) using static strings:
#EVAL[ {!club_member} ? "Member" : "Non-Member" ] {!title}
I will try it out with a longer expression and template values instead of strings and report back to possibly answer my own question.
Yes, you can use #EVAL[] in a Record Name template.
I figured out a solution after several tries and some extra quotes.
#EVAL["{!team_nickname}" == "" ? "{!team_number}" : "{!team_nickname}"]
@Pavel -- A "debug" feature would be helpful here. I tried several expressions that just created an "ERROR" link, but then noticed I had an extra space between ("#EVAL [") which was the root problem.
I agree, I should add "Preview" link.