Hi all,
I am not sure how to accomplish something with Wayfinder, and I’m hoping some kind soul can help me out here.
I need to have one weblink included in Wayfinder menus from different containers. In the example below, I’d like to have the Wayfinder menu generated by the call in Parent Resource (2) contain the weblink that is under Parent Resource (1), but I still need that Wayfinder call to generate menu items for the child resources under Resource (2) as well.
1: Parent resource with WF call
- Resource
Resource
Resource
- Weblink
2: Parent resource with WF call (needs to generate menu with child resources AND weblink from Resource 1)
- Resource
Resource
Resource
I know I could just duplicate the weblink and have one instance in each container, but that doesn’t seem very efficient. And I need to do this with more than one weblink in the site I’m working on, so it could get difficult from a maintenance point of view in case the links change, etc.
My first thought was to use the &includeDocs parameter in the WF call for Resource (2), but if I am reading the parameter description correctly, that would mean having to specify all documents to go in that menu; the links for items in the container would no longer be automatically generated. ("Acts as a filter and will limit the output to only the documents specified in this parameter.") Having to manually specify all documents in the WF call would be a pain for a user/editor if he or she needed to add resources in this container later.
So I’m sorta stuck at the moment. Any ideas would be received with much gratitude