Home Powershell

How can I edit System.ConfigItem.AssetStatusEnum

Sarah_GeihsSarah_Geihs Customer IT Monkey ✭

Hi all,

we would like to change the values ​​of the System.ConfigItem.AssetStatusEnum enum.

The enum does not appear in the Console under Library > Lists.

Thanks,

Sarah

Best Answer

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Answer ✓

    Hi Sarah,

    It's possible to change the display name on any enum value outside of the console by creating a DisplayString that references that enum value (and its MP). As you can see from this screenshot, I have done just that:

    The method of doing that is up to you. I used Powershell to create a new MP and create the xml element for each DisplayString. Then I imported the saved MP file.

    The powershell that I used is attached.

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Answer ✓

    Hi Sarah,

    It's possible to change the display name on any enum value outside of the console by creating a DisplayString that references that enum value (and its MP). As you can see from this screenshot, I have done just that:

    The method of doing that is up to you. I used Powershell to create a new MP and create the xml element for each DisplayString. Then I imported the saved MP file.

    The powershell that I used is attached.

  • Sarah_GeihsSarah_Geihs Customer IT Monkey ✭

    Hi Justin,

    that worked.
    Thanks :)

    Sarah

Sign In or Register to comment.