Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Modeling BCS using AttachmentAccessor in conjunction with StreamAccessor

$
0
0

We have our model defined with an association of one SourceEntity to many DestinationEntities.  We require the association to be Attachment based so we have added the AttachmentAccessor property.  The DestinationEntity must be handled with a StreamAccessor because it is a file image (PDF, XLS, ZIP etc) that we need the search service to index.

Now we are ready to put in the StreamAccessor based method, but we are are not sure what entity (source or dest) to put it under and how it ties back to the association.

Should we put the StreamAccessor code in the DestinationEntity? It looks like we should also add a file extension field to our DestinationEntity.  Then set the StreamAccessor's Extension property to this new field name so the search service can use the correct filter for indexing.

Please let us know if we are on the right track here.

Thanks In Advance...Bob Baldwin aka vsdotnetguy
Trabon


TIA...vsdotnetguy


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>