This is my contribution on how to put the purchase date to the Computer Form in SCSM.
Class Extention
Create two new Management Packs (MP). One for the Form Extension and one for Class Extension.
Change to “All Management Packs” in the Class Browser. Search for the Windows Computer Class in the Class Browser.
When found right click and select View.
In the newly opened Library right click Windows Computer and select Extend class.
If you have two MP:s open you need to choose which MP this changes is going to be saved in. Select the MP to save the changes in.
In the Extension of Windows Computer tab click Create property.
In the Create property box enter an Internal name.
Change the Data type and Name on the newly created property.
Save the MP.
Seal the Management Pack and import the MP to SCSM.
Form Extention
If the Form Extension MP was not created earlier, do it now.
At the Form Browser change to the MP “All Management Pack”.
Right click on the ComputerForm and select View.
At the ComputerForm tab click Customize.
If you have two MP:s open you need to choose which MP this changes is going to be saved in. Select the MP to save the changes in.
Add a Label and a Date Picker to the form.
Bind the Date Picker to the PurchasingData property that was created earlier.
Save and seal the Management Pack and import the MP:s.
This will be the result.
i add them both together in the same MP.
then sealed the MP
but when i pick a date and click on to save data in the computer fourm
then reopen the same CI
it shows blank …
any ideas ?
Please try to add the configuration in two different MP:s. If you do that, does it work then?
i followed the same process with 2 mp
still it does not work … i can retrieve the date that i saved
i cant retrieve the date that i saved ** sorry
ok found what is the issue..
i add my datepicker under “Operating system ” grid
if you added it under “CI information” grid it will work
thanks
Nice to hear that you got it working!
Regards, Jonathan