Skip to main content
Nintex Community Menu Bar

SharePoint service object loading document metadata options

  • August 25, 2009
  • 2 replies
  • 11 views

Forum|alt.badge.img+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

Forum|alt.badge.img+8
  • August 25, 2009

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).


Forum|alt.badge.img+4
  • Author
  • August 25, 2009

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