For my custom dexterity content type, I have a view template which pulls some REST data. This content type includes a viewlet in the
below-content-body area, which also needs access to the same data.
My first approach was to include the whole
bodytext slot from main_template and defining my template variable there. This failed.
I am now trying to understand the documentation on viewlets which mentions Re-using code from a View - which leads me to believe that in my viewlet
update() method, I can access functions defined in the code of my view but not variables defined in the template.
Is what I want possible? Hints appreciated...