Forum Discussion
Feb 17, 2012
There isn't a single iControl method for creating templates. There are 4 methods you need to look at in the Management.ApplicationTemplate interface
create()
set_action_implementation()
set_action_presentation()
set_action_presentation_help()
The first step is to call the create() method to create an empty template. You then call the other three methods with the implementation code (tmsh), the presentation code (APL) and the help (HTML) using the action "definition". Currently there is only one action available but in the future we are looking at adding others.
Not sure why the developers didn't create a single method to do the above 4 steps but they didn't.
This is a great idea for a tech tip. I'll put this in my queue for the next week or so.
-Joe