Subject: |
RE: Adding Locations to a ZenPack? |
Author: |
Jay Stanley |
Posted: |
2018-01-07 11:21 |
You could add it during the install step.
dmd.Locations.createOrganizer('TestLoc')
You can use the Microsoft ZP as an example oh how to use zpl, __init__.py and install() to do things during install/removal.
zenoss/ZenPacks.zenoss.Microsoft.Windows
GitHub |
remove preview |
 |
zenoss/ZenPacks.zenoss.Microsoft.Windows |
ZenPacks.zenoss.Microsoft.Windows - Microsoft Windows ZenPack |
View this on GitHub > |
|
|
------------------------------
jstanley
------------------------------