Getting “ows_MetaInfo” Nicely with SPServices

I know that I’m going to look for this tip again, so this post is as much as a “note to self” as anything else, though I expect that others will use it, too.

One of the streams I watch with HootSuite is a plain old search for “SPServices”. It’s useful for me to see what people are saying about SPServices (this one and not that one) and I occasionally retweet the good stuff.

I spotted a great tip from Steve Ottenad (@sottenad) yesterday about displaying the MetaInfo from list items nicely. It’s so simple, yet as far as I know, undocumented.

Simply add Properties="True" to your CAMLViewFields, like so:

CAMLViewFields: "<ViewFields Properties='True' />",

Thanks, Steve!

Similar Posts

3 Comments

    1. I’d be really surprised if all you see in MetaInfo is the ID. I see at least a dozen values there on a regular basis. Here’s an example:

      ows_MetaInfo='58;#vti_parserversion:SR|12.0.0.6421
      vti_lmt:SW|Thu, 22 Oct 2009 03:42:52 GMT
      Order:DW|5800.00000000000
      ContentTypeId:SW|0x01010077FE74FF93862D419170F4A09DD0BBC5
      vti_ct:SW|Thu, 22 Oct 2009 03:42:52 GMT
      vti_lat:SW|Wed, 13 Apr 2011 04:34:58 GMT
      TestColumn:SW|bar
      vti_sourcecontrolmultiuserchkoutby:VR|MYDOMAIN\\\\marc
      ContentType:SW|Document
      vti_lastheight:IX|286
      vti_author:SR|MYDOMAIN\\marc
      vti_lastwidth:IX|641
      vti_winfileattribs:SW|00000000
      vti_modifiedby:SR|MYDOMAIN\\marc
      '
      

      M.

      1. I was looking for some info about this “mysterious” column called “ows_MetaInfo”. It seems like all properties are stored in there – is there any way to avoid this column? I tried “Properties=False”, but without any success …

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.