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've implemented a StreamAccessor method for my BCS indexing connector.
My source is an SQL database which has a table that contains records.
Some of the records have links to files. My problem is that I’m not sure what to return in my method when there is no file to read.
If I return null - the results have no content type.
If I return an empty memorystream - the results gets a content type of application-octet stream which isn’t what they really are.

How can I construct my StreamAccessor method so it will know when to read files and when to ignore the record and move on?

share|improve this question
add comment

1 Answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.