Plugin Developer Documenter Plugin

Posted on
Mon Oct 05, 2015 10:39 pm
RogueProeliator offline
User avatar
Posts: 2500
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Plugin Developer Documenter Plugin

how do I set the plugin menu item default VALUES? i.e. the equivalent to e.g. "def getDeviceConfigUiValues(self, pluginProps, typeId, devId):"
for more complex menus with configUi

I believe you are looking for getMenuActionConfigUiValues...
Code: Select all
def getMenuActionConfigUiValues(self, menuId):
      self.debugLogWithLineNum(u'Called getMenuActionConfigUiValues(self, menuId):')
      if self.logMethodParams == True:
         self.debugLogWithLineNum(u'     (' + unicode(menuId) + u')')
      valuesDict = indigo.Dict()
      errorMsgDict = indigo.Dict()
      return (valuesDict, errorMsgDict)

Posted on
Mon Oct 05, 2015 10:54 pm
kw123 offline
User avatar
Posts: 8277
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin Developer Documenter Plugin

yes thanks,
was confused about the "Action" in getMenuActionConfigUiValues thought it should be called "getMenuConfigUiValues"


Posted on
Mon Jul 11, 2016 8:22 pm
DaveL17 offline
User avatar
Posts: 6649
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Plugin Developer Documenter Plugin

Hey - Just a quick shout out to say that the Plugin Developer Documenter continues to be a big help. Working on some validation for a custom menu item with a config UI. Head to Plugin Developer Documenter -- wham. In business.

Thanks brother.

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

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 1 guest