# Issue Getting Field Names to Display Correctly

**URL:** <https://forum.inductiveautomation.com/t/issue-getting-field-names-to-display-correctly/57597>\
**Category:** Module Development\
**Created:** [March 24, 2022, 3:52pm UTC](https://forum.inductiveautomation.com/t/issue-getting-field-names-to-display-correctly/57597 "2022-03-24T15:52:32Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [November 16, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/issue-getting-field-names-to-display-correctly/57597/20 "2022-11-16T20:02:13Z")

</div>

I ended up resolving this issue by browsing the forums a little more and finding this comment by @Kevin.Herron that was key in fixing the label problems for me:

> [@Extending from ConfigPanel: MissingResourceException](https://forum.inductiveautomation.com/t/extending-from-configpanel-missingresourceexception/12511/4):
>
> I was mistaken about the settings page properties file - those keys should just be in the main LRS.properties file. It’s settings records that are automatically loaded and must have a mirrored package structure (things that extend PersistentRecord). If your bundle is being loaded correctly you should be able to reference the keys/values by at the path “LRS.path.to.key”, so: LRS.nav.header LRS.settings.title LRS.lrsTitle

I cloned the `gateway-webpage` example (and added it as a module to my gateway to see how it works) and then immediately created a new project based on the `client-designer-gateway-archetype`. This then requires you to either set up a directory or package structure and for me, the issue was that the `java` and `resources` directories weren't 100% mirrored so some of the properties weren't being found.

Also, another thing that was tripping me up was that, for instance, in `GatewayHook.java`, we import the `SettingsPage` and `SettingsRecord` classes, but when you reference properties in that file (like `nav.header` and `nav.settings.title` - two of the labels that showed up incorrectly for me), they're actually coming from `HomeConnect.properties`, NOT `HCSettingsRecord.properties`.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/e/0e381ba8272e2c00e44ecd604a4688c850e2ea48.png)

If you set up everything correctly and you still get incorrect labels, you might need to do a gateway service restart. I restarted so many times (and repackaged the module) I don't know whether it would've worked the first time without a restart even if I had set everything up correctly.

---

_[View the full topic](https://forum.inductiveautomation.com/t/issue-getting-field-names-to-display-correctly/57597)._
