Is it possible to add a ref_ac_columns and ref_ac_columns_search to a UI page Dialogue box?

bhaavani
Tera Contributor

Hi Experts,

 

On any existing HR case in HR agent workspace if the agent clicks "Add Approval" then a dialogue box will pop up to add the approver and when selecting the user from the list I can only see the user email ID however I also wanted to see the employee ID of the user. I tried checking the UI Page "adhoc_approver" script and also added some logic however there is no luck. Can someone please help on this issue?

 

bhaavani_0-1767014893848.png

 

Below red highlighted box is the logic that I have added:

 

bhaavani_1-1767015042838.png

 

Thanks in advance.

 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@bhaavani 

Not directly possible within UI page

but here is a possible workaround

-> the fields you want to allow searching should have ref_ac_columns and ref_ac_columns_search added in attributes in dictionary

-> then only UI page will allow user searching on it

AnkurBawiskar_0-1767015358695.png

 

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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