# Any way to "force" setting a parameter value?

**URL:** <https://forum.genieacs.com/t/any-way-to-force-setting-a-parameter-value/123>\
**Category:** Uncategorized\
**Created:** [June 4, 2019, 11:15pm UTC](https://forum.genieacs.com/t/any-way-to-force-setting-a-parameter-value/123 "2019-06-04T23:15:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [June 4, 2019, 11:15pm UTC](https://forum.genieacs.com/t/any-way-to-force-setting-a-parameter-value/123/1 "2019-06-04T23:15:44Z")

</div>

Situation here is the newest branch of a particular “Smart” CPE vendor firmware doesn’t report a parameter that actually exists. I know the parameter exists because if I dump the running config, I see the entry right where I would expect it.

If I manually edit the data model in the DB and add the missing entry, I can set the value, and refresh the value. But until I manually create that entry (by hand editing the mongo data) I’m unable to make any changes.

So is there anyway to force GenieACS to refresh/set a value that it thinks does not exist?

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [June 5, 2019, 8:05am UTC](https://forum.genieacs.com/t/any-way-to-force-setting-a-parameter-value/123/2 "2019-06-05T08:05:37Z")

</div>

No there isn’t. But you can patch your copy to artificially add the missing param in the GPN response right before it gets processed. Find the following line in session.js:

```
case "GetParameterNamesResponse":

```

Check if GPN request was for the parent of the param in question (or any ancestor and nextLevel = false). If so, add your parameter in the array ‘rpcRes.parameterList’. Hope that makes sense?
