Gravatar for adouglas@itagroup.com

Question by AbbyDouglas801, May 8, 2017 8:30 PM

Last Motified Date not Displaying Date

My last modified date is not showing for my results. Am I doing something wrong?

2 Replies
Gravatar for amoreau@coveo.com

Answer by amoreau, May 8, 2017 9:01 PM

Hey Abby,

By default, we use `@SfLastModifiedDate`, which usually contains the right date. I think the reason nothing shows up might be because this document does not have any value for its `@SfLatestPublishedVersionLastModifiedDate` field, or might not have the field at all.

I suggest you use `@SfLastModifiedDate` instead, as this field usually has a value attached to it. Otherwise, verify in Salesforce that there is indeed a `@SfLatestPublishedVersionLastModifiedDate` field value to your document, and that its API name is `LatestPublishedVersionLastModifiedDate`.

Hope this helped! Let me know how it goes.

-Alex

Gravatar for adouglas@itagroup.com

Answer by AbbyDouglas801, May 9, 2017 2:42 PM

@amoreau - I'ved tried all ModifiedDate fields and none seem to be working. Is there other settings around the date fields? Do you have any suggestions?

Ask a question