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.
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)
Please log in to answer
Posted by:
GillySpy
12 years ago
There is nothing called a category in assets. I am going to guess that you mean you have:
- an asset type TYPEA that is referencing another asset TYPEB.
- This also means that TYPEA has a field with a field type of TYPEB.
- 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.
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
Posted by:
GillySpy
12 years ago
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?
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
Posted by:
GillySpy
12 years ago
Posted by:
GillySpy
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.