# Getting joined data for widget scope

**URL:** <https://meta.discourse.org/t/getting-joined-data-for-widget-scope/42264>\
**Category:** Development\
**Created:** [Avril 8, 2016, 10:00 UTC](https://meta.discourse.org/t/getting-joined-data-for-widget-scope/42264 "2016-04-08T22:00:01Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![stevenpslade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stevenpslade/32/53550_2.png) [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Post date:** [Avril 29, 2016, 4:50 UTC](https://meta.discourse.org/t/getting-joined-data-for-widget-scope/42264/8 "2016-04-29T16:50:18Z")

</div>

Ya, I have it in the `public_user_custom_fields` site setting as well. Perhaps I am misunderstanding `userCustomFields`. The field in question is created under customization \> user fields and the user can fill it in under their preferences.

In the rails console, `UserCustomField` gives me:

```
#<UserCustomField:0x007fb6a2bed830
  id: 10,
  user_id: -1,
  name: "user_field_2",
  value: "Cold Lake",
  created_at: Thu, 28 Apr 2016 18:03:11 UTC +00:00,
  updated_at: Thu, 28 Apr 2016 18:03:11 UTC +00:00>

```

So maybe I need to add “user\_field\_2” to the site settings rather than the name of the field?

---

_[View the full topic](https://meta.discourse.org/t/getting-joined-data-for-widget-scope/42264)._
