# Click to graph... limiting tags by project or user

**URL:** <https://forum.inductiveautomation.com/t/click-to-graph-limiting-tags-by-project-or-user/2401>\
**Category:** Ignition\
**Created:** [December 7, 2010, 7:40pm UTC](https://forum.inductiveautomation.com/t/click-to-graph-limiting-tags-by-project-or-user/2401 "2010-12-07T19:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [December 7, 2010, 7:40pm UTC](https://forum.inductiveautomation.com/t/click-to-graph-limiting-tags-by-project-or-user/2401/1 "2010-12-07T19:40:30Z")

</div>

is there any way that I can limit the tagnames visible when I click on the select pens button? By project would be better but even if I could do it by user that would work. basically I have a few folders with tags, but want the person logged in to only see 1 folder of tags.

Also, can I make it save the saved graphs on the actual client pc or does it have to save them on the gateway?

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [December 10, 2010, 7:21pm UTC](https://forum.inductiveautomation.com/t/click-to-graph-limiting-tags-by-project-or-user/2401/2 "2010-12-10T19:21:19Z")

</div>

Are you talking about the list of tags in ‘Tag Path’ dropdown list? That is populated by a script attached to the ‘Datasource’ dropdown, and you can set it to show whatever data you want. The line you need to modify is`tags = system.db.runQuery("SELECT tagpath FROM %ssqlth_te"% currentdatabase, currentdatasource)`You just need to add a where clause to filter them the way you want. IE:`tags = system.db.runQuery("SELECT tagpath FROM %ssqlth_te WHERE tagpath like '%%facility2/machine_1/%%'"% currentdatabase, currentdatasource)`
