What I wan't to achieve is to create a site column with type DateTime which I may query via the rest api by range (><).

At the moment the only type options available in create new managed property are text or yes/no.

How do I create a column that is queryable, retrievable via the query?querytext endpoint of type edm.DateTime?

1 Answer 1


Map your crawled properties to the MPs RefinableDateNN.

  • that does not return in date time format, it basically returns the value in string format
    – Muskan
    Jun 5, 2018 at 6:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.