Home Asset Management

Hardwareasset.js File

Stefan_ZielerStefan_Zieler Customer IT Monkey ✭

Hello,

when we copy the hardwareasset.js file in the CustumSpace folder, the "Model" and "Manufacturer" fields does not display the stored values.

When we delete the hardwareasset.js file from the Custum Space folder all values are correct.

We checked the js File and the DataTypes from the properties "Model" and "Manufacturer" are "String" not the "Enum" Type:


{

columnFieldList:

[

{ DataType: "String", PropertyDisplayName: "Manufacturer", PropertyName: "Manufacturer", Required: false, EnumId: '0E82DAD7-5853-33F7-E4C0-C34C478FE70A' },

{ DataType: "String", PropertyDisplayName: "Model", PropertyName: "Model", Required: false, EnumId: '5D2715B3-91A1-3868-FAF6-AB7DD98DAAF4' }

]

},

How can we edit the Hardwareasset.js file to display the stored values correctly?

Thanks

Best Answers

  • Stefan_ZielerStefan_Zieler IT Monkey ✭
    Accepted Answer

    Hello,

    { DataType: "Enum", PropertyDisplayName: "Manufacturer", PropertyName: "ManufacturerEnum", Required: false, EnumId: '0E82DAD7-5853-33F7-E4C0-C34C478FE70A' },

    { DataType: "Enum", PropertyDisplayName: "Model", PropertyName: "ModelEnum", Required: false, EnumId: '5D2715B3-91A1-3868-FAF6-AB7DD98DAAF4' }

     These changes brought back the desired stored values.


    Thanks for the hints

Answers

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Hello @Stefan_Zieler

    As far as I can tell it seems to be working as expected, are you wanting to change this so that you can edit those values?


    Thanks,

    Shane

  • Stefan_ZielerStefan_Zieler Customer IT Monkey ✭
    Accepted Answer

    Hello,

    { DataType: "Enum", PropertyDisplayName: "Manufacturer", PropertyName: "ManufacturerEnum", Required: false, EnumId: '0E82DAD7-5853-33F7-E4C0-C34C478FE70A' },

    { DataType: "Enum", PropertyDisplayName: "Model", PropertyName: "ModelEnum", Required: false, EnumId: '5D2715B3-91A1-3868-FAF6-AB7DD98DAAF4' }

     These changes brought back the desired stored values.


    Thanks for the hints

Sign In or Register to comment.