In a List View, I have noticed that some fields are empty in the smarty templates if they are not included in the fields shown. How can I make fields available to the template so that I can reference them in the template?
Thanks
Tony
In a List View, I have noticed that some fields are empty in the smarty templates if they are not included in the fields shown. How can I make fields available to the template so that I can reference them in the template?
Thanks
Tony
In the field definition files you can mark fields with
'usage' => 'query_only'
Search for examples here in the forums or better, in existing code.
I think that what this does is tell SuiteCRM to include that field in the query, but not show it. I think that should be enough to make the field available for other purposes.
If this is not what youβre asking, please explain in more detail what youβre trying to achieve, and where, and what you tried, and what happened