# Getting user profile custom field via JS

**URL:** <https://meta.discourse.org/t/getting-user-profile-custom-field-via-js/32257>\
**Category:** Feature\
**Created:** [18 أغسطس 2015، 5:08م UTC](https://meta.discourse.org/t/getting-user-profile-custom-field-via-js/32257 "2015-08-18T17:08:54Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Nuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nuck/32/121732_2.png) [@Nuck](https://meta.discourse.org/u/Nuck)\
**Post date:** [7 أبريل 2016، 1:44ص UTC](https://meta.discourse.org/t/getting-user-profile-custom-field-via-js/32257/6 "2016-04-07T01:44:44Z")

</div>

Is this still accurate? I’ve added `pro_expires_at` as a custom field on my user (`User.find('nuck').tap { |u| u.custom_fields['pro_expires_at'] = 5.weeks.from_now.to_i }.save`) and stuffed that into `public_user_custom_fields` in the site settings panel, but I’m just not seeing it in the preload data?

---

_[View the full topic](https://meta.discourse.org/t/getting-user-profile-custom-field-via-js/32257)._
