# Create WebDev Mounted folder through Scripting

**URL:** <https://forum.inductiveautomation.com/t/create-webdev-mounted-folder-through-scripting/37732>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 14, 2020, 3:15pm UTC](https://forum.inductiveautomation.com/t/create-webdev-mounted-folder-through-scripting/37732 "2020-08-14T15:15:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [August 14, 2020, 3:15pm UTC](https://forum.inductiveautomation.com/t/create-webdev-mounted-folder-through-scripting/37732/1 "2020-08-14T15:15:17Z")

</div>

I need my user to be able to add mounted drives ad-hoc in a perspective application.

Is it possible to create the mounted drives through scripting?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 14, 2020, 3:32pm UTC](https://forum.inductiveautomation.com/t/create-webdev-mounted-folder-through-scripting/37732/2 "2020-08-14T15:32:37Z")

</div>

There’s no direct scripting method, but as of an early 8.0.X release all webdev resources are just JSON on disk. If you create a mounted folder resource you can see the structure of the `config.json` - just two object keys. You’ll need to create that JSON, as well as an actual `resource.json`, and put them into the right location on the filesystem. Once you do, the gateway should automatically detect the changes and notice the resource. You’ll need to manually update your project in the designer.

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [August 14, 2020, 3:37pm UTC](https://forum.inductiveautomation.com/t/create-webdev-mounted-folder-through-scripting/37732/3 "2020-08-14T15:37:52Z")

</div>

Awesome! Gotta love the json file based approach in 8!
