Hello together,
I created an oData service to access LOB data from SharePoint Online.
In order to do that, I created an external content type in Visual Studio 2012 (Much to improve here!)…
If I try to limit the data in the BCDM it works fine:
/Custom?$top=100
But if I try to perform a Wildcard search in the external item box, it tells me that it has not found anything:
/Custom?$filter=@Name
<FilterDescriptor Type="Wildcard" FilterField="Name" Name="Name"><Properties><Property Name="UsedForDisambiguation" Type="System.Boolean">false</Property><Property Name="IsDefault" Type="System.Boolean">false</Property><Property Name="CaseSensitive" Type="System.Boolean">false</Property><Property Name="UseValueAsDontCare" Type="System.Boolean">false</Property></Properties></FilterDescriptor><Parameter Direction="In" Name="@Name"><TypeDescriptor TypeName="System.String" AssociatedFilter="Name" Name="Name"><Properties><Property Name="ODataFilterUrl" Type="System.String">substringof('@Name', Name) eq true</Property><Property Name="Order" Type="System.Int32">0</Property><Property Name="LogicalOperatorWithPrevious" Type="System.String">None</Property></Properties><Interpretation><NormalizeString FromLOB="NormalizeToNull" ToLOB="NormalizeToNull" /></Interpretation><DefaultValues><DefaultValue MethodInstanceName="AccountBaseRead List" Type="System.Object" xsi:nil="true" /></DefaultValues></TypeDescriptor></Parameter>
If I manually perform a request against the OData service, I will get the expected results.
Example:
/Custom?$filter= substringof('Julian’, Name) eq true
It seems to me, that the external Item dialog is not able to pass the filter value properly to the BDCM.
Anyone else facing the same problem or has a working solution for this?
Thank you in advance and regards
Julian