- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2020 10:25 PM
Hi,
We have assets created now for few assets we wanted to change the model category from windows to linux
can anyone please help me how to do this ?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2020 10:20 PM
1. In Application Navigator, oepn "Asset". In the example below, I'm going to change Model category of if Lenovo ThinkServer TD230 From Windows Server to Linux Server.
2. Right click on the asset to change and select "Copy sys_id". Here, I've right clicked on "P1000196".
3. Next, find sys_id of Linux Server model category.
I'm just filtering list asset on "linux" to bring a record that has "Linux Server". Any record will do.
4. Open the record and right click on the header section and select "Copy sys_id". This is the sys_id of model category "Linux Server".
5. From Application Navigator, search and open "Script - Background".
6. Enter the script. Enter the sys_id of linuxModelClass and assetId as was found
from the above steps. After updating the script, click on "Run script".
7. Result of execution is displayed.
8. Check Asset list to make surethe Model category changed to Linux Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 03:18 AM
Okay understood, and if records creted manually then we can run a script right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2020 09:47 PM
I tried with above scirpt but i am not able to update the model cateory. Can you please help me out

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2020 10:20 PM
1. In Application Navigator, oepn "Asset". In the example below, I'm going to change Model category of if Lenovo ThinkServer TD230 From Windows Server to Linux Server.
2. Right click on the asset to change and select "Copy sys_id". Here, I've right clicked on "P1000196".
3. Next, find sys_id of Linux Server model category.
I'm just filtering list asset on "linux" to bring a record that has "Linux Server". Any record will do.
4. Open the record and right click on the header section and select "Copy sys_id". This is the sys_id of model category "Linux Server".
5. From Application Navigator, search and open "Script - Background".
6. Enter the script. Enter the sys_id of linuxModelClass and assetId as was found
from the above steps. After updating the script, click on "Run script".
7. Result of execution is displayed.
8. Check Asset list to make surethe Model category changed to Linux Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2020 10:32 PM
Thank you i copied the sys id of the linux server from the list view so that got changed 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 01:12 AM