I need to create a deployable site page that uses various BDC Web Parts to display information from a external content type. The web part must retrieve the query value from a QueryString Filter web part or similar.
I can build a page to do with using the in-browser editor to place and connect the parts, but this is not suitable for the business deployment mechanisms, so I must use Visual Studio.
I can create the page containing the web parts, but I can't work out how to connect them. I tried copying the markup of a page built up in the way mentioned previously as a template item, and deploying that, but it gives me the following error when I navigate to the page:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'Microsoft.BusinessData.MetadataModel.IEntity' from its string representation '' for the 'SelectedConsumerEntity' property.
<SPWebPartConnections> <WebPartPages:SPWebPartConnection ConsumerConnectionPointID="BDWP Item" ConsumerID="g_332ad567_4e06_4f13_aaf4_1823b9e10c25" ID="c2074278991" ProviderConnectionPointID="ITransformableFilterValues" ProviderID="g_17cd7e1d_999f_425b_b62f_4cb2e8ceac7f"> <WpNs0:transformablefiltervaluestoentityinstancetransformer SelectedConsumerEntity=""> </WpNs0:transformablefiltervaluestoentityinstancetransformer> </WebPartPages:SPWebPartConnection>
Can anyone shed some light on what I need to do here?