SharePoint service object loading document metadata options

  • 25 August 2009
  • 2 replies
  • 0 views

Badge +4

I have a unique number attached to my document content type. 


I need to load the document metadata by making use this column and not the document title.


From the SharePoint service object the only option I see when I expand the load method, is to provide a title.


My other option is to use the getList


2 replies

Badge +8

I believe this is expected behaviour. Remember that SmartObjects' Load method only lists the Primary Key as input (by design). For a Document in a Library, the Title is the PK since it has to be unique, other columns can contain duplicates.


I have used the GetList method before for cases like this and it works as a charm, assuming that your meta data stays unique (only returns 1 result).

Badge +4

Thanks DC, I will get the job done with the GetList

Reply