External XML Drop Down

Posted on
Fri May 26, 2017 3:25 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

External XML Drop Down

Is it possible to populate a drop down selection list in a plugin or device configuration from an external file?


Sent from my iPhone using Tapatalk

Posted on
Fri May 26, 2017 4:23 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: External XML Drop Down

Can you describe more what you're looking to do?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri May 26, 2017 4:32 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: External XML Drop Down

bkmar1192 wrote:
Is it possible to populate a drop down selection list in a plugin or device configuration from an external file?


Yes. The plugin would have to parse the file and create the list.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri May 26, 2017 6:09 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: External XML Drop Down

For my Security Camera plugin I was considering having a list of cameras that could be selected and the the plugin would build the correct URL string. I'd like the list of cameras and the URL to be in an external file to make it easier to maintain and update.


Sent from my iPhone using Tapatalk

Posted on
Fri May 26, 2017 6:22 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: External XML Drop Down

Take a look at this post.

Although I haven't tried it myself, it seems you can build the whole config from XML.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest