Question: How to delete config configurations

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
AngusETM
Posts:37
Joined: Tue Apr 25, 2017 4:48 pm

Question: How to delete config configurations

Post by AngusETM »

Hi all,

I have an Alert Handling config which has some excess configuration in it which I would like to delete. When exported in the ASCII export, this shows up as additional lines of configuration which I don't want.

The config is Active, and the Active tickbox is greyed out so I can't control it. This stops me from deleting the config and simply starting again.

Is there a way to delete existing lines in a configuration with the ASCII import? Or, to delete the whole config entirely to start afresh? If I import a config with fewer config lines it still keeps the old ones.

Regards,
Angus

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Question: How to delete config configurations

Post by leoknipp »

If you want to delete a config the _type attribute has to be set to 0.
When you want to modify an _alert_hdl config you have to ensure that the config is inactive, otherwise it cannot be configured. Maybe you didn't use the option to set the _alert_hdl config inactive when doing the ASCII import.
Please check if errors are reported when importing the ASCII file.

Best Regards
Leopold Knipp
Senior Support Specialist

AngusETM
Posts:37
Joined: Tue Apr 25, 2017 4:48 pm

Re: Question: How to delete config configurations

Post by AngusETM »

Thanks Leopold.

My problem was that I had an active alert which was not acknowledged. When I acknowledged the alert I was able to delete the datapoint and re-create it based on one of the same type.

I did tick the "load alert handling" box when loading the ASCII, and had no errors when importing. However, this just added more lines of configuration to the #Alertvalue config, rather than replacing the existing lines.


Is there a way to delete lines of existing configuration using the ASCII imports? Or, is it necessary to delete the config and import it again?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Question: How to delete config configurations

Post by leoknipp »

If you want to change the settings for a config using the ASCII import you have to define the new configuration in the ASCII file.
E.g.: If the _alert_hdl config has 5 ranges and you want to configure 3 ranges the information for all ranges (detail number 0-3 where the entry for DetailNr 0 is left empty in the file) needs to be defined in the ASCII file. When the ranges 4 and 5 are not defined in the file they will be deleted.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1