# Accessing a module's settings record from the Client

**URL:** <https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106>\
**Category:** Module Development\
**Created:** [April 21, 2017, 12:41pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106 "2017-04-21T12:41:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [April 21, 2017, 12:41pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/1 "2017-04-21T12:41:24Z")

</div>

I have a settings record that is managed in my code in the gateway scope, and I need to access some of those settings from the client scope. I don’t see an obvious way to do it, I looked at the `AbstractVisionComponent`, `GatewayConnection` and `GatewayInterface` classes/interfaces and I don’t see anything.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 21, 2017, 2:08pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/2 "2017-04-21T14:08:20Z")

</div>

You’ll need to add your own RPC calls to interact with the gateway.

The [scripting example](https://github.com/inductiveautomation/ignition-sdk-examples/tree/master/scripting-rpc-example) demonstrates how to use the RPC system. The focus of the example is on scripting but the important parts are providing an RPC handler in your gateway hook and using ModuleRPCFactory in the client to create an instance that you can use to invoke whatever functions you’ve defined.

---

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [April 23, 2017, 7:55pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/3 "2017-04-23T19:55:37Z")

</div>

Great, thank you Kevin. I’ll give it a try.

---

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [April 23, 2017, 9:34pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/4 "2017-04-23T21:34:25Z")

</div>

Works perfectly, thanks Kevin.

---

<div class="post-metadata">

**Author:** ![Ajinkya](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Ajinkya](https://forum.inductiveautomation.com/u/Ajinkya)\
**Post date:** [September 20, 2019, 7:14am UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/5 "2019-09-20T07:14:41Z")

</div>

> [@Kevin.Herron](#):
>
> The [scripting example](https://github.com/inductiveautomation/ignition-sdk-examples/tree/master/scripting-rpc-example)

Hello kevin, I am unable to access url linked to "scripting example" as it shows page not found. If possible can you please share it again. it will be very helpful. Thanks in advance .

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [September 20, 2019, 12:02pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/6 "2019-09-20T12:02:44Z")

</div>

> **[inductiveautomation/ignition-sdk-examples](https://github.com/inductiveautomation/ignition-sdk-examples/tree/7f68564b49e82546762d26ce06ee2393fc184601/scripting-function/scripting-function-client/src/main/java/com/inductiveautomation/ignition/examples/scripting/client)**
>
> 7f68564b49e82546762d26ce06ee2393fc184601/scripting-function/scripting-function-client/src/main/java/com/inductiveautomation/ignition/examples/scripting/client

---

<div class="post-metadata">

**Author:** ![Ajinkya](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Ajinkya](https://forum.inductiveautomation.com/u/Ajinkya)\
**Post date:** [September 20, 2019, 12:11pm UTC](https://forum.inductiveautomation.com/t/accessing-a-modules-settings-record-from-the-client/14106/7 "2019-09-20T12:11:12Z")

</div>

thank you, this will surely help me.
