SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Add template to master

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Add template to master
Author Message
wmweaver2



Joined: 29 Oct 2007
Posts: 111
Country: United States

Post Add template to master Reply with quote
I am running Java multi platform. I followed the instructions and copid a .ini template into the templates folder and it doesnt show up on the masters list of templates. It says something about modifying the TEMPLATE.ini file but i cannot find that file in any of the sevreal installs i have done. I am confused how i download the templates and get them to show up on the master.
Fri Mar 14, 2008 2:07 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7949

Post Reply with quote
Preface: Because the board doesn't support HTML and XML tags, I will be using { instead of "less" symbol and } instead of "greater" symbol

All template files should be copied to the [24x7 home]/Templates subdirectory. You can reference them in the preferences.xml file which can be found in [24x7 home]. Look for text like below

Code:
  {object id="7" type="12"}
    {property name="name" type="3" value="Test group"/}
    {object id="8" type="13"}
      {property name="name" type="3" value="Test template"/}
      {property name="path" type="3" value="Template/test_template.ini"/}
    {/object}
  {/object}


Add additional entries like below, but please ensure that object id is unique. For every new entry you add, in the very beginning of the preferences file increment number in {root id="13"} by one. Basically, that number must match the id of the last added entry.
Code:

   {object id="8" type="13"}
      {property name="name" type="3" value="Test template"/}
      {property name="path" type="3" value="Template/test_template.ini"/}
    {/object}



It is also a good idea to make a backup of preferences.xml before changing it :)
Fri Mar 14, 2008 3:46 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.