# Results Component not working: Result.id is undefined

**URL:** <https://discuss.elastic.co/t/results-component-not-working-result-id-is-undefined/287696>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 26, 2021, 12:59pm UTC](https://discuss.elastic.co/t/results-component-not-working-result-id-is-undefined/287696 "2021-10-26T12:59:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [October 26, 2021, 1:25pm UTC](https://discuss.elastic.co/t/results-component-not-working-result-id-is-undefined/287696/2 "2021-10-26T13:25:55Z")

</div>

You'll either need to add an `id` field to your result object (this is probably the easiest option), or customize the `Result` view to look for `uuid` instead of `id`: [Reference UI - how to modify what's displayed (React newbie) - #2 by JasonStoltz](https://discuss.elastic.co/t/reference-ui-how-to-modify-whats-displayed-react-newbie/199471/2)

---

_[View the full topic](https://discuss.elastic.co/t/results-component-not-working-result-id-is-undefined/287696)._
