I have a page layout with some web parts outside of a webpart zone so that they are added to already created pages which use the page layout.
I want to add a page field filter to the page as well and connect it to the web parts.
I got the filter to add to a page inside of a web part zone, and the connections added outside of the web part zone. However, since the filter is inside of the web part zone, it isn't added to pages I have already created using the layout.
QUESTION: How do I add a page field filter to a page layout outside of a web part zone? Is it even possible?
My HTML Snippets for the filter and connections:
<!--MS:<WpNs0:PageContextFilterWebPart
ID="ClientNameFilterId"
runat="server" PageFieldGuid="031c6c97-22db-4e30-8ebb-ad652b0c8263" FilterName="ClientNameFilterName"
Title="ClientNameFilterTitle" FrameType="None" SuppressWebPartChrome="False" SendEmptyWhenNoValues="True"
Description="Filter web parts based on the Client Name" IsIncluded="True"
FrameState="Normal" AllowRemove="True" AllowZoneChange="False" AllowMinimize="True"
AllowConnect="True" AllowEdit="True" AllowHide="True" IsVisible="True" CatalogIconImageUrl="/_layouts/images/wp_Filter.gif"
TitleIconImageUrl="/_layouts/images/wp_Filter.gif" DetailLink="" HelpLink="" HelpMode="Modeless" Dir="Default"
PartImageSmall="/_layouts/images/wp_Filter.gif" MissingAssembly="Cannot import this web part."
ImportErrorMessage="Cannot import this web part." PartImageLarge="/_layouts/images/wp_Filter.gif"
IsIncludedFilter="" ExportControlledProperties="True">-->
<!--ME:</WpNs0:PageContextFilterWebPart>-->
<!--SPM:<WebPartPages:SPProxyWebPartManager runat="server" ID="__ProxyWebPartManagerForConnections__">-->
<!--SPM: <SPWebPartConnections>-->
<!--SPM: <WebPartPages:SPWebPartConnection ConsumerConnectionPointID="DFWP Filter Consumer ID" ConsumerID="XsltListViewWebPartContacts" ID="ContactClientConnection" ProviderConnectionPointID="ITransformableFilterValues" ProviderID="ClientNameFilterId">-->
<!--SPM: <WebPartPages:TransformableFilterValuesToParametersTransformer ConsumerFieldNames="Client" ProviderFieldNames="ClientNameFilterName">-->
<!--SPM: </WebPartPages:TransformableFilterValuesToParametersTransformer>-->
<!--SPM: </WebPartPages:SPWebPartConnection>-->
<!--SPM: <WebPartPages:SPWebPartConnection ConsumerConnectionPointID="DFWP Filter Consumer ID" ConsumerID="XsltListViewWebPartProjects" ID="ProjectsClientConnection" ProviderConnectionPointID="ITransformableFilterValues" ProviderID="ClientNameFilterId">-->
<!--SPM: <WebPartPages:TransformableFilterValuesToParametersTransformer ConsumerFieldNames="Client" ProviderFieldNames="ClientNameFilterName">-->
<!--SPM: </WebPartPages:TransformableFilterValuesToParametersTransformer>-->
<!--SPM: </WebPartPages:SPWebPartConnection>-->
<!--SPM: <WebPartPages:SPWebPartConnection ConsumerConnectionPointID="DFWP Filter Consumer ID" ConsumerID="XsltListViewWebPartClientDocuments" ID="DocumentsClientsConnection" ProviderConnectionPointID="ITransformableFilterValues" ProviderID="ClientNameFilterId">-->
<!--SPM: <WebPartPages:TransformableFilterValuesToParametersTransformer ConsumerFieldNames="Client" ProviderFieldNames="ClientNameFilterName">-->
<!--SPM: </WebPartPages:TransformableFilterValuesToParametersTransformer>-->
<!--SPM: </WebPartPages:SPWebPartConnection>-->
<!--SPM: </SPWebPartConnections>-->
<!--SPM:</WebPartPages:SPProxyWebPartManager>-->
This is the error I get when I preview the layout or create a new page when the filter snippet is not in a webpart zone snippet: