How to select multiple dexterity elements of one type in one dexterity element of another type in Plone 5.1

You should use plonecli to make the add-on. It is possible to make the add-on manually (but don't do that)

When you use plonecli to make a (browser) view, it will make TWO files by default: and In you add the code to get the related contents and you call this from

SO, in you have something like:

 def getRelations(self): 
      // find all backlinks
     return 'the result I found'

And in

<tal:related tal:repeat="related_stuff view/getRelations">

    //other fields, image, description maybe

1 Like

Professionally solved by Espen on GitHub - espenmn/acentoweb.mediaflows


Plone Foundation Code of Conduct