Is my BDC or Code the issue for retrieving empid? What syntax to use for BDC search of empid?

I have a custom bdc that works fine in a web part, for example pulls exactly by empid. However when i use a filter in my object model code, it doesn't work. i have a second filter wildcard that works fine search by job category. I'm trying to narrow the problem by deciphering if my bdc or my code is the problem? Anyone have any ideas on how i can resolve this issue that has plagued me for months?

Share:

1 Answer Found

It sounds like the method that is working in the web part is a specific finder method that is using the empid field. In code, this would not be accessed by using a filter. Instead, use the FindSpecific method similar to the following:

Go4Sharepoint, is a Microsoft Featured Community.
Microsoft, Windows, Sharepoint, Sharepoint logo, Windows logo, etc are trademarks of the Microsoft Corporation.
All product names, logos, copyrights, and trademarks mentioned are acknowledged as the registered intellectual property of their respective owners. This site is not in any way affiliated with, nor has it been authorized, sponsored, or otherwise approved by, Microsoft Corporation.