# SimpleTagProvider and DataSet variables

**URL:** <https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296>\
**Category:** Module Development\
**Tags:** sdk, ignition79\
**Created:** [March 9, 2018, 4:38pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296 "2018-03-09T16:38:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [March 9, 2018, 4:38pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296/1 "2018-03-09T16:38:56Z")

</div>

Hello everyone,  
following the simple-tag-provider example, I’m trying to develop a module of my own. In my module I need a Dataset variable, which must be editable by the user. I manage to create the tag variable in my TagProvider via code  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/60e4b51eb84e23229f18b86c656825c51e607797.png)  
but it is impossible to edit it in the tag browser: if I double-click on the variable I get a tag editor like that in the following picture  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/eb39047726291c48d6ad92e827e8272f1b3a9f9a.png)  
As you can see no **Dataset** type is allowed for the tag and I get no editor to change the dataset values.  
My tag configuration is  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/15fdff5c1a56548d16885f6268a379f602678591.png)  
and my provider configuration is:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b8cfb7b04bed6e97f1505c47eef157f7ffa485ef.png)

Any suggestion is appreciated.

Thanks in advance, regards

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 9, 2018, 5:05pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296/2 "2018-03-09T17:05:01Z")

</div>

What’s the entry under String in the drop down?

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [March 9, 2018, 5:30pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296/3 "2018-03-09T17:30:24Z")

</div>

Hallo Kathy, unfortunately I’m currently not at my PC. But I’m sure it is not **Dataset**. Moreover whenever you open the tag properties, you get the **Byte** type selected at first, as the **Dataset** datatype were not recognized.Also the dataset members which are listed below seem to be readonly.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [March 12, 2018, 10:39am UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296/4 "2018-03-12T10:39:41Z")

</div>

Hallo Kathy, the last entry you asked for is **Date**. I played a bit more with the **SimpleTagProvider** and as far as my understanding, with a SimpleTagProvider:

- it is not possible to let the user add/remove tag from the tag browser
- every time the Ignition service restart, I have no mean to test if the tag provider is there already: I must create the provider again and consequently I loose all the previous tags values.  
Am I right?

Thanks in advance, regards

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 12, 2018, 2:03pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296/5 "2018-03-12T14:03:42Z")

</div>

A tag provider is responsible for everything about its tags, including persistence. Your module must have a means to save any values it wishes to restore.
