This question is similar to this question from January 2021, however since it’s been over a year I wanted to see if there were any updates that would permit this functionality.
A client wants to sort based on the most recently added FAQ questions. My first inclination was to create a manual “date added” field and use that. However, I noticed in the API response for the FAQ entity that there is a timestamp
field, which seems to correspond with the last updated date. My idea was to sort based on this field. Here’s an anonymized version of a response that I get for an FAQ entity.
"response": {
"answer": "This is sample answer text.",
"question": "This is sample question text",
"name": "This is sample name text",
"c_faqCategory1": "Product",
"c_faqType": [
"INTERNAL"
],
"meta": {
"accountId": "",
"uid": "1234",
"id": "1234",
"timestamp": "2022-01-27T21:29:08",
"folderId": "0",
"language": "en",
"countryCode": "US",
"entityType": "faq"
}
}
In the Answers configuration, I can sort on builtin.entityType
, but when I try to manually add builtin.timestamp
in the JSON, it returns that the field is not valid. Is there another way to take advantage of this built in timestamp field? Or am I better off creating a manual custom field for last updated and sorting on that instead?