Page 3 of 3

Re: Plugin Developer Documenter Plugin

PostPosted: Mon Oct 05, 2015 10:39 pm
by RogueProeliator
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)
Adam

Re: Plugin Developer Documenter Plugin

PostPosted: Mon Oct 05, 2015 10:54 pm
by kw123
yes thanks,
was confused about the "Action" in getMenuActionConfigUiValues thought it should be called "getMenuConfigUiValues"


Karl

Re: Plugin Developer Documenter Plugin

PostPosted: Mon Jul 11, 2016 8:22 pm
by DaveL17
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.
Dave