I think you’re getting caught up in the wrong place. Basically, if someone has created a config page, they’re storing those settings somewhere (they’re not “default” settings, though the the actual config page is likely getting created automatically off of someone’s PersistentRecord that they’ve defined).
Here’s what it sounds like you need to do:
- Figure out what record is storing those settings.
- Figure out how to get that record from your own module in the gateway (likely just by using [tt]GatewayContext.getPersistenceInterface().find(…)[/tt])
- Create an RPC system to retrieve the value in the client, from the gateway. This is described in the Programmer’s guide under “Designer to Gateway Communication”.
Going from there, you could also set up a listener for that record on the gateway, and use push notification to let the client know when someone has changed that setting, though I imagine that is probably a bit more than you need. The mechanics for that are described in “Storing data with PersistentRecords” under “Programming for the Gateway”, and under “Gateway to Client Comm”, under “Programming for the Designer”.
Hope this helps,