Ishai Sagi[MOSS MVP]

Hi,

I managed to solve my bdc issues (sadly no one posted an answer to my previous post about those) but one remains.

The picker control that allows users to pick from the values in the BDC application is searching fine when the users are using the pop-up search dialog. however, when they use the textbox + validation button, the control searches using the SpecificFinder and not using the Finder function.

Since SpecificFinder is searching on ID and not on name, that means the users will never find anything (unless they know the ID of the entity they are searching for).

Should I change my webmethod to check if the user is searching for an ID or for a string if so, what about the suggestions how do i pass an array back if the specificfinder is supposed to return only one

what am I missing

note- when I solve this I plan to write a walkthrough that will (I hope) simplify the building of web-services BDC manually.

Ishai Sagi
www.spstips.blogspot.com




Re: SharePoint - Development and Programming BDC - how to make it search on the names and not on the ID's

Dave T

I am having the same problem. Did you manage to solve this Ishai



Re: SharePoint - Development and Programming BDC - how to make it search on the names and not on the ID's

David M T

You need to specify that the FilterDescriptor used for your Finder is UsedForDisambiguation.

For example (from here: http://blah.winsmarts.com/2007-4-SharePoint_2007__BDC_-_Extending_the_Hello_World_Example.aspx)

<FilterDescriptors>

<FilterDescriptor Type="Wildcard" Name="City" >

<Properties>

<Property Name="UsedForDisambiguation" Type="System.Boolean">true</Property>

</Properties>

</FilterDescriptor>

</FilterDescriptors>

Hope this helps.