# I called my virtual parameters but not work

**URL:** <https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582>\
**Category:** Uncategorized\
**Created:** [April 21, 2022, 10:04am UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582 "2022-04-21T10:04:33Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 21, 2022, 10:04am UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/1 "2022-04-21T10:04:33Z")

</div>

hi  
this is my virtual parameter :

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/7619d8ec44cf17d5aa55d2db8cd1fb495ac856a4.png)

and this is how im used that :

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/c75630f36dcc1156eaad9734529019a4e0a3b862.png)

please help me this

---

<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:** [April 21, 2022, 5:16pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/2 "2022-04-21T17:16:51Z")

</div>

This is covered in the [documentation](http://docs.genieacs.com/en/latest/virtual-parameters.html).

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 21, 2022, 7:12pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/3 "2022-04-21T19:12:45Z")

</div>

Yes But I cant realize how that work  
1 . i writed virtual parameter  
2 . i writed a provision for it  
3 . and i added a preset for it in perests tab  
and in my device ui , i added Virtualparameters.(myparameter namae)

but still not work  
Please Help Me At this  
Thanks In advanced

---

<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:** [April 21, 2022, 7:37pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/4 "2022-04-21T19:37:33Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/b00e2ff3d01807ee36a22298dfe584d994d06d25.png)

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 21, 2022, 10:39pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/5 "2022-04-21T22:39:00Z")

</div>

> [@n6462](#):
>
> realize

Yes I read this text and my problem is here that i do not know how do this (fetech)

---

<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:** [April 22, 2022, 1:22am UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/6 "2022-04-22T01:22:02Z")

</div>

This is all covered in the documentation.

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 24, 2022, 12:18pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/7 "2022-04-24T12:18:23Z")

</div>

Which part of documentation mentioned that ?!

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [April 25, 2022, 1:07pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/8 "2022-04-25T13:07:21Z")

</div>

Did you add the declare statement for the virtual parameter in your default or inform provision script?

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 26, 2022, 8:20am UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/9 "2022-04-26T08:20:31Z")

</div>

thanks for reply  
yes , and i finally did it  
but i need to refresh all parameter of a tree (InternetGatewayDevice.Services )too see my virtual parameter value  
and for this , i try to add below line to default provision :  
declare( “InternetGatewayDevice.Services”, {path: Date.now(), value: Date.now()});  
but still dose not work and i should refresh it manually

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [April 26, 2022, 11:41am UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/10 "2022-04-26T11:41:12Z")

</div>

Can you share your default provision?

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 26, 2022, 12:11pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/11 "2022-04-26T12:11:01Z")

</div>

i add to line 14 :

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/f02b37b4aded1876d2e5c99aae7b90fb9b6ef52c.png)

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [April 26, 2022, 12:33pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/12 "2022-04-26T12:33:34Z")

</div>

It does not show the VirtualParameters.ipa declaration statement.

Here is a snip of my own:

declare(“Device.ManagementServer.PeriodicInformEnable”, {value: daily}, {value: true});  
declare(“Device.ManagementServer.PeriodicInformInterval”, {value: daily}, {value: informInterval});  
declare(“Device.ManagementServer.PeriodicInformTime”, {value: daily}, {value: informTime});  
declare(“VirtualParameters.\*”, {value: daily}, {value: informTime});

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 26, 2022, 12:35pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/13 "2022-04-26T12:35:53Z")

</div>

> [@dustin](#):
>
> declaration

Thank u i’ll check it  
that’s mean this line refresh automatically “internetgatewaydevice.services” tree ?!

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [April 26, 2022, 12:41pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/14 "2022-04-26T12:41:14Z")

</div>

Yes it would refresh but if there are too many items within that parameter then only the first 10 or 20 would be displayed. I cannot recall the exact amount that gets displayed so I just used “10 or 20” as an example.

---

<div class="post-metadata">

**Author:** ![n6462](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@n6462](https://forum.genieacs.com/u/n6462)\
**Post date:** [April 26, 2022, 12:45pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/15 "2022-04-26T12:45:48Z")

</div>

> [@dustin](#):
>
> displayed

yes thats my problem  
is any way to incress this number ?!

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://forum.genieacs.com/u/dustin)\
**Post date:** [April 26, 2022, 1:04pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/16 "2022-04-26T13:04:57Z")

</div>

From this previous discussion, it seems configurable:

> [@Device - Number of maximum displayed parameters is 100 - WHY?](https://forum.genieacs.com/t/device-number-of-maximum-displayed-parameters-is-100-why/1269):
>
> Just switched from 1.2.0beta to latest 1.2.3. Already found some changes, not happy with some, but let’s start somewhere. Why are there only 100 displayed parameters in Device view? One of my devices has 1158 parameters after initial summon.frowning There should be AT LEAST a config option allowing you decide what is the desired maximum. Something like how custom ui.pageSize was solved. I think I found location, where number of listed items is hardcoded, in /ui/components/all-parameters.ts…

---

<div class="post-metadata">

**Author:** ![git-neo-si](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/git-neo-si/32/607_2.png) [@git-neo-si](https://forum.genieacs.com/u/git-neo-si)\
**Post date:** [April 26, 2022, 1:27pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/17 "2022-04-26T13:27:25Z")

</div>

> [@dustin](#):
>
> ssion, it seems configurable:

Yes, it is. After Zaidka added it. See original thread - there is Zaidka’s response WHERE to put desired limit.

---

<div class="post-metadata">

**Author:** ![baptiste](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@baptiste](https://forum.genieacs.com/u/baptiste)\
**Post date:** [August 29, 2023, 2:57pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/18 "2023-08-29T14:57:32Z")

</div>

Hi,

How do you fix it ? My virtualParameters not displayed.

---

<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:** [August 29, 2023, 4:49pm UTC](https://forum.genieacs.com/t/i-called-my-virtual-parameters-but-not-work/2582/19 "2023-08-29T16:49:24Z")

</div>

Necromancy is frowned upon. Please create a thread specific to **your** issue and include complete details.
