Is there a way wherein will be able to see existing status of CI's related in rltshp view on CI form

Kaneez_Farwa
Tera Contributor

I have a requirement wherein I need to be able to see the current status of the CI's related on a CI form in relationship view without clicking on them or opening them in a new tab.

For example, If a CI is retired should be mentioned as Retired beside that CI under Relationship View.

If not this can may I know what would be the best possible way to enable this kind of feature in Service Now on a CI form.

 

4 REPLIES 4

Auqib Rasool
Tera Contributor

To my understanding, if you are referring under relationship tab  , its a UI Formatter called 'CI Relations' which will require a UI macros to define the content that the formatter displays.

You can navigate to System UI -> Formatters (list of all existing formatters)

In related list , there an option called view UI macro for this formatter. You should be able to modify/override the ui Macro to define the content that the formatter should display and in your case should be the CI status

I Hope this can help
Note : You will require knowledge of Jelly script 

AuqibRasool_1-1692887422796.png

 

 

If not this is there a way where we can enable the current status of CI's on a CI form under relationship view.

Kaneez_Farwa
Tera Contributor

ok, thank you for the input provided.

If not this is there a way where we can enable the current status of CI's on a CI form under relationship view.

For example, If it is retired it should be showing retired, if it is in Disposed state it should be showing status as Disposed.

Is there a better way where we can get this enabled on a CI form.

Kaneez_Farwa
Tera Contributor