Author Topic: Removing a template - how?  (Read 3009 times)

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Removing a template - how?
« on: August 17, 2010, 10:50:21 pm »
Hia,
i did create a template, with the pnp and mac range. While refining it, something went wrong. I did delete the device create by the pnp of this template, but trying to making it recognize the device again is not working, so how do i delete the template and the mac range associated, i.e, everything involving this template?
TIA,
Paulo

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Removing a template - how?
« Reply #1 on: August 18, 2010, 08:35:07 am »
in web admin do a sqlCVS diff, and revert your changes.

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Removing a template - how?
« Reply #2 on: August 18, 2010, 01:46:50 pm »
Thx Posde,
doing this i will also remove all the templates i've created. Is there a way to remove only one specific template?
TIA,
Paulo

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Removing a template - how?
« Reply #3 on: August 18, 2010, 01:47:43 pm »
With revert you revert all the marked entries. by carefully applying the marks, you should be ok.

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Removing a template - how?
« Reply #4 on: August 20, 2010, 10:27:22 pm »
Thx Posde,
which would be the entries for motion and cameras (surveillance)?
I did create templantes for audio / video and updated the cisco templates (mac range) and would not get them loose.
TIA,
Paulo

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Removing a template - how?
« Reply #5 on: August 21, 2010, 10:57:05 am »
You should try to minimize the number of not committed template changes. That way you don't loose control. I really don't know which tables are effected by which changes to the templates, though.