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!
What data is generally stored in this field? I see the Item ID, but that’s it.
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:
M.
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 …