4

I am trying to map the start date of tasks to a managed property, which I can then use to display and sort the results.

Originally I was using an automatically generated field 'StartDateOWSDATE' which had the crawled property 'ows_q_DATE_StartDate' mapped to it. This returns an ISO date string no problem, however I can't use it to sort the results using SortList.

I've then tried mapping the same crawled property to both RefinableString01 and RefinableDate00, however these both just return an empty string in the search API.

This is a SharePoint Online environment which may restrict some configuration options and/or workarounds.

2
  • 1
    Have the mapped properties been crawled, when were these added? Have you tried giving the refinables an alias and accessing with that?
    – Jacob
    Commented Oct 24, 2016 at 9:58
  • These were added sometime on Friday, so should have been crawled by SharePoint. I have tried both the property name and the alias, both return a blank string.
    – Ben Short
    Commented Oct 24, 2016 at 10:01

1 Answer 1

3

1) Ensure that the column "StartDate" has data.

2) Ensure that you have mapped the correct crawled the crawled property to the managed property (RefinableString00 or RefinableDate00 etc)

3) If you have waited for some time, go to the Task list > Settings > Advanced Settings > Click on Reindex list. Click OK.

enter image description here

4) Wait for a few minutes(approx 10-15 mins), Usually the refinables get populated here. But even then if the data is not populated, reindex the site collection via step 5.

5) Go to the https://sitecollectionurl/_layouts/15/srchvis.aspx

Click on Reindex site.

enter image description here

1
  • 1
    Thanks, doing a full site collection reindex seems to have populated the field.
    – Ben Short
    Commented Oct 24, 2016 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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