UI Macro on a Form

EricG
Kilo Sage

I have a questions regarding the UI macros added to field attributes.

 

I've created a ui_macro to open a catalog item.  it's working and shows for most ticket types.  INC, RITM, Probem.

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">

	<a href="nav_to.do?uri=com.glideapp.servicecatalog_cat_item_view.do%3Fv%3D1%26sysparm_id%3D7bd6566947fa1e50e0bcbfaf016d438e"  id="HTH - Configuration Item request" class='icon ref-button icon-collaboration btn btn-default btn-ref' target='_blank'></a>
</j:jelly>

EricG_2-1735658027502.png

(new macro, open in dependency view, preview this record)

 

But with Change Requests, I don't see the new Icon and get a completely difference set of macros.

(open in dependency view, open in cmdb workspace, preview this record)

EricG_1-1735657418145.png

 all tables are referencing Task for the CI field.

the attributes are:

edge_encryption_enabled=true,ref_ac_columns=sys_class_name;service_classification,ref_ac_order_by=sys_class_name,ref_auto_completer=AJAXTableCompleter,ref_contributions=open_new_ci_request;task_show_ci_map;show_related_records

 

I've removed everything except the "open_new_ci_request" and it doesn't make a difference.

Where is this being controlled?

 

1 ACCEPTED SOLUTION

ASA5
Kilo Sage

Hi @EricG,

 

This is due to Dictionary override on the change request table, you can modify the attribute directly there.

ASA5_0-1735659535485.png

 

View solution in original post

4 REPLIES 4

Ahmmed Ali
Mega Sage

Hello @EricG 

 

Are you adding the attributes on field on task table? there might be dictionary override for change request table to override the attribute.

 

Thank you,

Ali

 

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

ASA5
Kilo Sage

Hi @EricG,

 

This is due to Dictionary override on the change request table, you can modify the attribute directly there.

ASA5_0-1735659535485.png

 

Ankur Bawiskar
Tera Patron
Tera Patron

@EricG 

already for change requests there are lot of macros added it seems

you will have to add yours one

Please share your dictionary screenshot for change request table

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@EricG 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader