This project is read-only.
1

Closed

SPContentType not returned

description

Great tool and saved me lots of time. I'm not a dev, but this tool has allowed me to resolve issues and to help the devs in what is possible.
One thing I have noticed (and it may be the way I'm using it) but the SPContentType property is always coming back blank. I'm querying a Office 365 Tenancy.
The ContentType property is populated but not the SPContentType property.

We had and issue on a project and found that "Mikael Svenson on February 14, 2014 at 7:01 pm said:
You should use spcontenttype instead of contenttype. Contenttype also includes the mime type and not just the name and may cause issues. Spcontentype only stores the name."

This value was not coming back in the tool, but setting the result source in the tenancy to spcontenttype="Media Hub*" has worked.

I suspect this is a small update to your project, but it may help others who experience a similar issue.

Thanks

Graham Sheeley
Closed Mar 10 at 11:19 AM by Wobba

comments

Wobba wrote Mar 10 at 11:19 AM

SPContentType is not a retrievable managed property. You have to use the ContentType mp to see the value.

So query on SPContentType, but examine the value using ContentType.

-mikael

wrote Mar 10 at 11:19 AM