Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have been able to define an External List through a WCF Service. This works well, but I am now moving onto more advanced scenarios - I would like my Create, Update and Delete methods to implement validations and business logic.

For example, when a list item is created, I would like to perform validations to ensure certain fields are unique across all rows in the table and enforce business rules such as "If cost field of list item > 1 million dollars and the current status of parent record in the DB is 'In Progress', prevent creation of current list item".

Can someone please provide some insight into how I can return error / business rule failure information to SharePoint? I tried throwing an exception, but the exception message is not displayed to the user.

share|improve this question
    
Great question. A real shame it hasn't been answered... –  Kirk Broadhurst Mar 1 '13 at 4:15
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.