Removing an attribute
Removing an attribute
(OP)
Hi,
I have created a NOIDMIF file an example is shown below. It adds in a new class and is viewable in Resource Explorer which is just what I want.
However in the future this NOIDMIF file may change and things will needed to be added to it and removed.
The adding is no problem just add in another attribute and it adds another column within Resource Explorer and the SQL Tables.
However, If I remove an attribute for example 'SysLocationBusiness' it removes the value out of the Resource Explorer but it still leaves
the column within Resource Explorer with no value and it also leave a column with the table in SQL.
As you can imagine this is not very tidy. I am desperately looking for away to successfully cleanup.
Example if NOIDMIF........
Start Component
Name = "Machine"
Start Group
Name = "Test_NOIDMIF"
ID = 1
Class = "CompanyX¦NOIDMIF¦1.0"
Start Attribute
Name = "SysLocationSite"
ID = 1
Type = String(60)
Storage = Specific
Value = "Bognor"
End Attribute
Start Attribute
Name = "SysLocationBusiness"
ID = 2
Type = String(60)
Storage = Specific
Value = "Administration"
End Attribute
End Group
End Component
I have created a NOIDMIF file an example is shown below. It adds in a new class and is viewable in Resource Explorer which is just what I want.
However in the future this NOIDMIF file may change and things will needed to be added to it and removed.
The adding is no problem just add in another attribute and it adds another column within Resource Explorer and the SQL Tables.
However, If I remove an attribute for example 'SysLocationBusiness' it removes the value out of the Resource Explorer but it still leaves
the column within Resource Explorer with no value and it also leave a column with the table in SQL.
As you can imagine this is not very tidy. I am desperately looking for away to successfully cleanup.
Example if NOIDMIF........
Start Component
Name = "Machine"
Start Group
Name = "Test_NOIDMIF"
ID = 1
Class = "CompanyX¦NOIDMIF¦1.0"
Start Attribute
Name = "SysLocationSite"
ID = 1
Type = String(60)
Storage = Specific
Value = "Bognor"
End Attribute
Start Attribute
Name = "SysLocationBusiness"
ID = 2
Type = String(60)
Storage = Specific
Value = "Administration"
End Attribute
End Group
End Component