Create new models for a new asset class

richardradzvill
Kilo Contributor

I have created a new Asset Class named Vehicle, and several new Model Categories associated to it, e.g. Compact, Sedan, etc. I am struggling to figure out how to create new Models (Ford Fiesta, Honda Civic, etc.) associated to it. Thanks!

1 ACCEPTED SOLUTION

allison_holt
Giga Expert

I would add the different makes (Ford, Honda, etc) to the manufacturers table.     Then go to All Models under the product catalog and hit new at the top.   It will take you to an interceptor where you can select your newly created Vehicle class.   For the example of a Ford Fiesta, you can complete the Vehicle model form and select the Ford as the manufacturer, type Fiesta in the Name field, and then select the appropriate category (compact, sedan, etc) from the Model category list.   You may have to personalize the form to get the fields you need if they do not appear.


find_real_file.png



If you do not want to go through the interceptor each time, you can create a new module under Product Catalog > Product Models, called Vehicle models, that will take you straight to your list of created Vehicle models.



Hope this helps!


-A


View solution in original post

4 REPLIES 4

allison_holt
Giga Expert

I would add the different makes (Ford, Honda, etc) to the manufacturers table.     Then go to All Models under the product catalog and hit new at the top.   It will take you to an interceptor where you can select your newly created Vehicle class.   For the example of a Ford Fiesta, you can complete the Vehicle model form and select the Ford as the manufacturer, type Fiesta in the Name field, and then select the appropriate category (compact, sedan, etc) from the Model category list.   You may have to personalize the form to get the fields you need if they do not appear.


find_real_file.png



If you do not want to go through the interceptor each time, you can create a new module under Product Catalog > Product Models, called Vehicle models, that will take you straight to your list of created Vehicle models.



Hope this helps!


-A


Thank you, this was very helpful! One aspect I am still getting hung up on is the "Edit Interceptor" step, and creating a new entry for Vehicle. Other entries, like Application, have a target URL specified, e.g. cmdb_application_product_model.do. Is there a way to determine what this entry should be for my custom Asset Class? Thanks!


if you created a new table and extended from asset, it should be something like alm_u_vehicle.   If you want to double check, if you go to Tables & Columns under System Definition, you can see if there is a new Vehicle option listed and it will tell you the table name you need to point the intercepter to.


prabhash_snow
Mega Expert

Hi Richard,



This is the table where you relate your ASSET CLASS with a model : cmdb_model_category.


You will have to add the CMDB and the ASSET class.



Some useful links :  


Model categories


Create model categories



Regards/ Prabhash