Add Purchasing Data to Computer Form in Service Manager

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.

Add Purchasing Data to Computer Form in Service Manager1

Change to “All Management Packs” in the Class Browser. Search for the Windows Computer Class in the Class Browser.

Add Purchasing Data to Computer Form in Service Manager2

When found right click and select View.

Add Purchasing Data to Computer Form in Service Manager3

In the newly opened Library right click Windows Computer and select Extend class.

Add Purchasing Data to Computer Form in Service Manager4

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 Purchasing Data to Computer Form in Service Manager5

In the Extension of Windows Computer tab click Create property.

Add Purchasing Data to Computer Form in Service Manager6

In the Create property box enter an Internal name.

Add Purchasing Data to Computer Form in Service Manager7

Change the Data type and Name on the newly created property.

Add Purchasing Data to Computer Form in Service Manager8

Save the MP.

Add Purchasing Data to Computer Form in Service Manager9

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”.

Add Purchasing Data to Computer Form in Service Manager10

Right click on the ComputerForm and select View.

Add Purchasing Data to Computer Form in Service Manager11

At the ComputerForm tab click Customize.

Add Purchasing Data to Computer Form in Service Manager12

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 Purchasing Data to Computer Form in Service Manager13

Add a Label and a Date Picker to the form.

Add Purchasing Data to Computer Form in Service Manager14

Bind the Date Picker to the PurchasingData property that was created earlier.

Add Purchasing Data to Computer Form in Service Manager15

Save and seal the Management Pack and import the MP:s.

This will be the result.

Add Purchasing Data to Computer Form in Service Manager16

6 Responses to Add Purchasing Data to Computer Form in Service Manager

  1. abu obaid September 11, 2013 at 01:09 #

    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 ?

    • Jonathan September 17, 2013 at 06:25 #

      Please try to add the configuration in two different MP:s. If you do that, does it work then?

      • abu obaid September 23, 2013 at 11:50 #

        i followed the same process with 2 mp
        still it does not work … i can retrieve the date that i saved

        • abu obaid September 23, 2013 at 11:58 #

          i cant retrieve the date that i saved ** sorry

  2. abu obaid September 23, 2013 at 12:25 #

    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

    • Jonathan September 30, 2013 at 07:55 #

      Nice to hear that you got it working!

      Regards, Jonathan

Leave a Reply