I know how to use parameters in content query web parts. Is there any option to filter a list by the site URL only? Like if I am on /customers/customer1 I would like to see details for customer1. The idea behind this is that I could put one webpart on these pages, the same for everyone, that would work for all customers. Any idea is appreciated. Thanks.
There will not be any pretty solutions with the constraints that we have here. With OOB, we will need to do ugly hacks like:
Change navigation mode to manual and add url with querystring parameter as needed e.g. &burl=customer1 and then use querystring filter on pages to access it.
It will be much cleaner if there is option to add a custom created filter webpart OR redesign site structure to use Cross Site Publishing.