/build/static/layout/Breadcrumb_cap_w.png

Category Deletion.

How do you delete a category in the asset type list ?

I made a mistake of creating a new asset type with the sub categorty of department and need to delete.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
There is nothing called a category in assets. I am going to guess that you mean you have:
  1. an asset type TYPEA that is referencing another asset TYPEB.
  2. This also means that TYPEA has a field with a field type of TYPEB.
  3. when you try to delete TYPEB you get an error saying This Asset Type can not be deleted as it is associated with another Asset type.
What you need to do is find the field from #2 and delete that field or modify it's field type. if you have many assets a clue to this would be found by running this query (reports->add new report from SQL)

select AT.NAME "asset type you might be trying to delete",
AT2.NAME "asset where the field to clear resides",
FD.FIELD_NAME "field to modify or delete first"
from
ASSET_TYPE AT
join ASSET_FIELD_DEFINITION FD on FD.FIELD_TYPE=CONCAT('ASSET_',cast(AT.ID as char))
join ASSET_TYPE AT2 on AT2.ID=FD.ASSET_TYPE_ID
order by 1
Posted by: aa136 12 years ago
Yellow Belt
0
Didnt work, what it shows is:

ASSET TYPE DETAIL

Record created:

Record Last Modified:

Name: Chicago

Category: Department
Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
You're really not giving me much to go on. You may need to open a ticket where someone can help you collect more information.

Another guess: you created an asset type called Chicago instead of an asset? How are you deleting it? This all depends on the fields you defined etc. Or perhaps you just renamed the existing asset type of Department?
Posted by: cblake 12 years ago
Red Belt
0
Deleting the asset Type can't be accomplished until all assets of that type are removed. Delete the assets, then you can delete the asset type. Hope that helps.
Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
Deleting the asset Type can't be accomplished until all assets of that type are removed
You can delete an asset type with members. This is why I was guessing about the asset type associations.
Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
Perhaps you are trying to delete the OEM type called "Department" but you renamed it to "Chicago"? You cannot delete the OEM types so probably the best thing to do is rename it back to Department.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ