title: sharepoint lookup field how to programmatically filter to lookup only in current document library
body: <p>I want the lookup field to be filtered to only display titles from the current document library (meaning the document library that the user is currently in).  I cannot specify the document library b/c I don't want to have to define a new lookup column for each new document library...instead I'm hoping to do this as a custom content type that can be used in any document library.</p>
  
  <p>It would ideally be deployed as a feature.</p>