# Added an editable “Notes” field in the Device/Listing devices table

**URL:** <https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969>\
**Category:** Uncategorized\
**Created:** [September 18, 2024, 3:51pm UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969 "2024-09-18T15:51:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![L.Muroni](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@L.Muroni](https://forum.genieacs.com/u/L.Muroni)\
**Post date:** [September 18, 2024, 3:51pm UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969/1 "2024-09-18T15:51:40Z")

</div>

I need to add a editable field where I can write custom notes for each device in the table of “Device/Listing devices ” like the example.

 ![Immagine 2024-09-18 174000](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/a/a7aa708ef4837a936fcef483aba06e6a33b97042.png)  
Does anyone already have a solution or would be able to give me some advice?  
Thanks

---

<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:** [September 18, 2024, 8:15pm UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969/2 "2024-09-18T20:15:18Z")

</div>

You can accomplish this using a [virtual parameter](https://docs.genieacs.com/en/latest/virtual-parameters.html).

---

<div class="post-metadata">

**Author:** ![L.Muroni](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@L.Muroni](https://forum.genieacs.com/u/L.Muroni)\
**Post date:** [September 19, 2024, 9:39am UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969/3 "2024-09-19T09:39:55Z")

</div>

I have tried but to no avail. is it possible to have a field like this with the button to edit the custom note?  
 ![Immagine 2024-09-19 112531](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/4/490a08d3846b54e64a2342faa708b09147a599b7.png)  
I followed the guide you reported but the editable field is not added.

---

<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:** [September 19, 2024, 4:08pm UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969/4 "2024-09-19T16:08:17Z")

</div>

Post the contents of your vparam.

---

<div class="post-metadata">

**Author:** ![L.Muroni](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@L.Muroni](https://forum.genieacs.com/u/L.Muroni)\
**Post date:** [September 20, 2024, 8:31am UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969/5 "2024-09-20T08:31:25Z")

</div>

I tried it like this

![Immagine 2024-09-20 102625](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/0/0783605f47dcb794a452c2ebd66db2fcde3261ad.png)

In the **Editing index page** section I tried to enter the parameter in these two ways but without success

 ![Immagine 2024-09-20 102421](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/d/d99cecc6b8fb4659535a37abb458643d7bd1b94f.png)

![Immagine 2024-09-20 102141](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/8/8462c24cd64be54c5aa67d6036e298efb64bf1e0.png)

and in the **listing config** it shows like this

 ![Immagine 2024-09-20 102512](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/9/94860cb5ea68c7bc6eca28a1e76b78ed8c69d126.png)

---

<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:** [September 20, 2024, 4:29pm UTC](https://forum.genieacs.com/t/added-an-editable-notes-field-in-the-device-listing-devices-table/5969/6 "2024-09-20T16:29:09Z")

</div>

You are overwriting the value of the vparam every time to empty string.

```auto
let note = '';

if ("value" in args[1]) {
    note = args[1].value[0];
}

return {writable: true, value: [note, "xsd:string"]};

```
