Thanks for your reply Jigar.
I am aware of that but my question was how does CRM know which of the sharepointdocument locations to use. For example I might have contact, account and say a custom entity new_custom enabled for documents. I'd expect three 'header' sharepoint location records,
for example with values
Name relativeurl
account account
contact contact
new_custom new_custom
So for entity contact how does it know to use the second record above. Does it match on the name field? My experiments suggest not!
Thanks
Paul