By default, FarCry has an automagic function that determines an object’s label based on properties that contain keywords like title, and name. If it can’t find anything you end up with a UUID (not too pretty).
But if you want to change the label in a less haphazard way what would you do?
- use
blabel="true"
attribute on the component property of choice - add an
afterSave()
function to set the label - override the
autoSetLabel()
function intypes.cfc
While all of these options work, the simplest way to nominate a specific label is to create a displayLabel.cfm
webskin for your content type, as that’s where all the current magic happens
What do you do?