# Can I create new Folder under Perspective Views through script?

**URL:** <https://forum.inductiveautomation.com/t/can-i-create-new-folder-under-perspective-views-through-script/27355>\
**Category:** Ignition Early Access\
**Created:** [August 12, 2019, 10:26am UTC](https://forum.inductiveautomation.com/t/can-i-create-new-folder-under-perspective-views-through-script/27355 "2019-08-12T10:26:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jianping.li](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jianping.li](https://forum.inductiveautomation.com/u/jianping.li)\
**Post date:** [August 12, 2019, 10:26am UTC](https://forum.inductiveautomation.com/t/can-i-create-new-folder-under-perspective-views-through-script/27355/1 "2019-08-12T10:26:43Z")

</div>

Hello,  
Can I create new Views through script? If not, can I create new Folder under Perspective Views through script?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 12, 2019, 3:25pm UTC](https://forum.inductiveautomation.com/t/can-i-create-new-folder-under-perspective-views-through-script/27355/2 "2019-08-12T15:25:59Z")

</div>

No, there is no scripting functionality to allow for this. What was your goal in performing such an action?

---

<div class="post-metadata">

**Author:** ![jianping.li](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@jianping.li](https://forum.inductiveautomation.com/u/jianping.li)\
**Post date:** [August 13, 2019, 1:09am UTC](https://forum.inductiveautomation.com/t/can-i-create-new-folder-under-perspective-views-through-script/27355/3 "2019-08-13T01:09:33Z")

</div>

I want to create users and their machines from UI, I hope ignition can automatically create the folders according to the current user’s and machine:smiley: Sadly, I 'll do it another way.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 13, 2019, 1:52pm UTC](https://forum.inductiveautomation.com/t/can-i-create-new-folder-under-perspective-views-through-script/27355/4 "2019-08-13T13:52:16Z")

</div>

Creating resources through scripting is not the way to go. From the sound of what you’re trying to accomplish, you should look into using Views with Parameters; clever design would allow you to make only a few “physical” Views which act like templates whose data is filled based on user properties.
