Ad Widget

Collapse

API documenation/template linkage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • svenw
    Junior Member
    • May 2008
    • 26

    #1

    API documenation/template linkage

    Hi,

    i'm trying to do some autoconfiguration with API, but i cant figure out how to link templates. the only documentation i was able to find (thanks for that! was great help) has "TODO" when it comes to templates. i dont even know if it is "todo documentation" or "todo implementation

    any hint on how to link a template to a host?

    thanks!
  • svenw
    Junior Member
    • May 2008
    • 26

    #2
    figured it out, method Template.create
    and at least two parameters: string host, int groups

    Comment

    • svenw
      Junior Member
      • May 2008
      • 26

      #3
      Template.massAdd with templates and hosts set to the corresponding IDs does the linkage.....

      Comment

      Working...