Hi all,
Going through AM implementation and I found Operating System Install Date in the DB. I then put in the following to have it show up on the Microsoft.Windows.Computer.js file to get it to show (and was successful):
{ DataType: "String", PropertyDisplayName: "InstallDate", PropertyName: "OperatingSystem.InstallDate", MinLength: 0, MaxLength: 200 }
I then went to the HardwareAsset.js file to replicate the work to pull in this in under Misc and was not successful. I tried several things.
{ DataType: "String", PropertyDisplayName: "OperatingSystemVersionDisplayName", PropertyName: "Target_HardwareAssetHasAssociatedCI.OperatingSystem.DisplayName", Disabled: true }, (no results)
----
{ DataType: "String", PropertyDisplayName: "OperatingSystemVersionDisplayName", PropertyName: "Target_HardwareAssetHasAssociatedCI.DisplayName", Disabled: true }, (pulls computer name)
---
{ DataType: "String", PropertyDisplayName: "OperatingSystemVersionDisplayName", PropertyName: "Target_HardwareAssetHasAssociatedCI.OperatingSystemDisplayName", Disabled: true }, (no results) ],
Can someone tell me what I'm doing wrong.
Better yet I think I can see whats available in in the console (f12)...but I'm not very good at it. Can I see all variables available in the console?
Thanks
Zack
Answers
Your first attempt was the right syntax. Unfortunately, that data is just not available (by default) on the Hardware Asset form. If it was to loaded every bit of data, about every related item, it would be so much data the form would take ages to load.
However, you can create yourself a custom type projection that does contain this data and configure the portal to use that TP for the Hardware Asset Form.
This is totally doable but isn't super simple so let me know if you need more help.
Geoff
Hi Everybody
I´m a new user in this eviroment.
I need to do two things in my asset management
1) Create a new type of device: in the Asset Management tab I find computers, printers, etc. but I need to add Network Devices (access point, switches) and add the data types of these devices, how do I do it?
2) I need to customize my Asset Excel to match the one I did in step 1.
Please put me in the right direction. Thank you in advanced.