Is there a way to access viewdefs in a smarty template? I have a custom sugarfield where I want to access some viewdefs I have put in for select fields in the detailview tpl. I can access the vardefs using the sugarvar smarty plugin but not the viewdefs. I feel like this would be something that is used a lot, but cannot find a way to easily do this.
Does that really make sense? You need information about a view when picking bits of data? That’s what viewdefs are…
You probably just need a bit of data, the fact that you’ve referenced it in a viewdef doesn’t mean you can’t reference it somewhere else…