Friday, February 5, 2010

Datasource names on Data Sets used for custom lookups on Enterprise Portal

When creating lookups based on a User Control in the AOT, it seems required that you, in the query of the dataset, make sure the datesource name and table name is exactly the same for each datasource.

Normally you would be able to name the datasource differently from the table it represents, but the EP frameworks can't figure this out when you apply custom filters from the webpage.

It fails when applying the filter, being unable to update the query on the dataset.