# Ignition Scripting of new Devices without Designer

**URL:** <https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [December 5, 2023, 3:51pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719 "2023-12-05T15:51:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blake\_McFadden](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Blake\_McFadden](https://forum.inductiveautomation.com/u/Blake_McFadden)\
**Post date:** [December 5, 2023, 3:51pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/1 "2023-12-05T15:51:00Z")

</div>

Curious if there is a way to add new devices automatically without using the Designer. Our current use case doesn't require Designer so not having to install it every time would be a bonus. If anyone has found a way to add Devices without this, let me know!

---

<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:** [December 5, 2023, 3:54pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/2 "2023-12-05T15:54:54Z")

</div>

Yes, via script:

[https://docs.inductiveautomation.com/display/DOC81/system.device.addDevice](https://docs.inductiveautomation.com/display/DOC81/system.device.addDevice)

Numerous related discussions on this forum:

[https://forum.inductiveautomation.com/search?q=addDevice%20order%3Alatest](https://forum.inductiveautomation.com/search?q=addDevice%20order%3Alatest)

---

<div class="post-metadata">

**Author:** ![Blake\_McFadden](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Blake\_McFadden](https://forum.inductiveautomation.com/u/Blake_McFadden)\
**Post date:** [December 5, 2023, 4:08pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/3 "2023-12-05T16:08:58Z")

</div>

Yes I did see the addDevice but I am looking for a way to achieve this without using Designer.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 5, 2023, 4:10pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/4 "2023-12-05T16:10:24Z")

</div>

No, you have to write the code to add devices using this scripting function in the Designer initially.

After that, though, you could invoke this code from a Perspective or Vision Client.

Or just go add them in the Gateway.

---

<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:** [December 5, 2023, 4:11pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/5 "2023-12-05T16:11:35Z")

</div>

> [@Blake\_McFadden](#):
>
> without using Designer.

At all?

No, you will have to use the designer to write a script in a UI project. Then, if well-written, the UI project can do the work in the future.

---

<div class="post-metadata">

**Author:** ![Blake\_McFadden](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Blake\_McFadden](https://forum.inductiveautomation.com/u/Blake_McFadden)\
**Post date:** [December 5, 2023, 4:26pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/6 "2023-12-05T16:26:19Z")

</div>

Thank you for confirming Phil and Kevin. Definitely a feature I would like to see in the future.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [December 5, 2023, 4:28pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/7 "2023-12-05T16:28:01Z")

</div>

> [@Blake\_McFadden](#):
>
> Definitely a feature I would like to see in the future.

Why should you be able to "design" a project without the designer?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 5, 2023, 4:28pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/8 "2023-12-05T16:28:05Z")

</div>

You haven't explained your use case or how you imagine this might work enough to get help let alone request a feature.

---

<div class="post-metadata">

**Author:** ![Blake\_McFadden](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Blake\_McFadden](https://forum.inductiveautomation.com/u/Blake_McFadden)\
**Post date:** [December 5, 2023, 4:45pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/9 "2023-12-05T16:45:19Z")

</div>

Our use case is just using Ignition as a OPC Server and serving those tags to a separate OPC client. We would be bulk adding a bunch of devices once and then potentially going back to change/add devices. We do not use Designer or any of its' features, so not having to install it onto computers that we do not manage just to add Devices automatically would be nice. Even if there was the ability to upload something like a csv file, excel sheet or a text file in a specific format to the web page, that would be nice.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 5, 2023, 4:58pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/10 "2023-12-05T16:58:46Z")

</div>

Okay. Not that it helps you now, but when Ignition 8.3 is released (late 2024? who knows) I think there will be a couple ways this could be approached.

Right now, you'd probably need to use the Designer to author a web service, using the WebDev module, that could be used to dynamically add devices based on the parameters provided to the service call. Then you could use scripting or whatever else, external to Ignition, to call that web service.

(this would be one of the approaches in 8.3 as well, except you won't need to roll your own web service to respond)

---

<div class="post-metadata">

**Author:** ![Blake\_McFadden](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Blake\_McFadden](https://forum.inductiveautomation.com/u/Blake_McFadden)\
**Post date:** [December 5, 2023, 5:07pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/11 "2023-12-05T17:07:51Z")

</div>

> [@Kevin.Herron](#):
>
> Okay. Not that it helps you now, but when Ignition 8.3 is released (late 2024? who knows) I think there will be a couple ways this could be approached.
> 
> Right now, you'd probably need to use the Designer to author web service, using the WebDev module, that could be used to dynamically add devices based on the parameters provided to the service call. Then you could use scripting or whatever else, external to Ignition, to call that web service.
> 
> (this would be one of the approaches in 8.3 as well, except you won't need to roll your own web service to respond)

Thanks Kevin, I will look out for that when Ignition 8.3 comes out.

---

<div class="post-metadata">

**Author:** ![eddie\_johnson](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddie\_johnson](https://forum.inductiveautomation.com/u/eddie_johnson)\
**Post date:** [December 5, 2023, 6:36pm UTC](https://forum.inductiveautomation.com/t/ignition-scripting-of-new-devices-without-designer/82719/12 "2023-12-05T18:36:45Z")

</div>

> [@Blake\_McFadden](#):
>
> Ignition as a OPC Server

I never considered using Ignition without Vision or Perspective. Something new to ponder.
