Display Model ID whenever selecting anything in Configuration Item Field on Incident Table

Tuhina Sharma
Tera Contributor

My requirement is to display the Model Id in the Configuration Field on Incident form whenever we are selecting anything only the model id should be display.

 

Like currently now the name is display in configuration item, whenever we are selecting anything.

TuhinaSharma_1-1715447671997.png

 

But I want display the Model ID details in every selection

TuhinaSharma_2-1715447810261.png

If I make the Model ID field as display true from the CMDB table it is working but is there any other way to achieve that without scripting ? I don't want to touch the base table here, I tried with dictionary override as well but it is not working.

TuhinaSharma_3-1715447888142.png

 

 

2 ACCEPTED SOLUTIONS

Maik Skoddow
Tera Patron
Tera Patron

Unfortunately there is no alternative on the reference field itself. The "Display" column can only be set once for a table and then is applied to all reference fields in the platform. No chance to change the behavior for individual reference fields like in your case. 

A workaround is to place an additional - so-called dot-walked - field on the form. Refer to the answer from the following question to learn how to do this: https://www.servicenow.com/community/developer-forum/how-to-define-a-dot-walked-form-field/m-p/26863... 

View solution in original post

Community Alums
Not applicable

Hi @Tuhina Sharma ,

I  researched a lot for your problem but unfortunately there is nothing you can do with script here, only option is set display to true.

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards 

Sarthak

View solution in original post

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Unfortunately there is no alternative on the reference field itself. The "Display" column can only be set once for a table and then is applied to all reference fields in the platform. No chance to change the behavior for individual reference fields like in your case. 

A workaround is to place an additional - so-called dot-walked - field on the form. Refer to the answer from the following question to learn how to do this: https://www.servicenow.com/community/developer-forum/how-to-define-a-dot-walked-form-field/m-p/26863... 

Community Alums
Not applicable

Hi @Tuhina Sharma ,

As @Maik Skoddow said ootb we cannot do any changes to get this requirement.

 

Alternatively you can create a custom field to display the Model ID separately(populate the values based on CI using onchange client script).

 

Mark this helpful if your query is answered and accept the solution.

 

Thanks and Regards,

Sanjay Kumar

Community Alums
Not applicable

Hi @Tuhina Sharma ,

I  researched a lot for your problem but unfortunately there is nothing you can do with script here, only option is set display to true.

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards 

Sarthak