External Content Type
-
Friday, May 11, 2012 8:58 AM
Hello,
I have created a ECT in designer. In the Read List Properties-> Filter Configuration, we have Filter Parameter Configuration. In that we have (Click to Add) option. Then in the Filter Configuration window we specify Filter name and other Filter proeprties.
My issue is, if I specify the Filter name (New Filter) as any random string/value, then how can I get that value in Silverlight.
For e.g: In list I have a column name as Add, so in the Filter Configuration window, if I specify Filter Name other than Add (say Test), how to get the mapping, means how I can find that Test is associated with which column (in this case Add)Thanks.
All Replies
-
Friday, May 11, 2012 1:57 PM
Hi,
Associated column for the filter you should select in the "Filter field" combo box.
Dmitry
Lightning
Tools Check out our SharePoint tools and web parts |
Lightning Tools Blog
- Edited by Dmitry KaloshinMicrosoft Community Contributor Friday, May 11, 2012 1:57 PM
-
Saturday, May 12, 2012 4:04 AM
Hi,
Thanks for the reply. Also, I was little confused , but you have given the screen shot. Thanks
So, in the screenshot MyFilter value is specified. we have a silverlight application and custom web parts. In web parts we have created our own properties, that we require to complete in case of configuring web parts.
My issue is if, I specify MyFilter value or any value for New Filter property, how in code(silverlight), I can get MyFilter and also how can I get that MyFilter is connected or mapped with which column (RegionId/description in screen shot)
Thanks for the reply and help
-
Saturday, May 12, 2012 9:56 AM
Hi,
In order to work with BCS Filters you may use Business Connectivity Services Object Model Here you may find a lot of examples Business Connectivity Services Object Model Code Snippets Here is an example how to work with filter Using Filters and the Business Connectivity Services object model
But this API can't be used from Silverlight application. So you should wrap it in Web/WCF service that can be invoked from SilverLight application.
Dmitry
Lightning
Tools Check out our SharePoint tools and web parts |
Lightning Tools Blog- Marked As Answer by Entan MingMicrosoft Contingent Staff, Moderator Friday, May 18, 2012 6:14 AM

