Modify button text in Contextual Search results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 09:01 AM
In the Employee Center when a user is in the Create an Incident item and types in the description the Contextual Search results that result in a catalog item have a button that is labeled 'Order'. We would like to change the text to something else - like 'Select' instead.
I tried copying the OOB UI Macro cxs-table-result and changed what I thought was the right text. I then created a new Formatter for Contextual Search and referenced the new UI Macro. I cleared the cache.
The button still shows 'Order'.
Is this the correct process? Is it the right UI Macro? If so, which line should be changed? If not, how can I modify this text?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 09:23 AM
Hello @MMGF ,
You can change the label from 'Order' to 'Select' using Search Action Configurations table [cxs_ui_action_config].
1. Open the table using cxs_ui_action_config.LIST
2. You can put a filter -
Base configuration = Incident [incident]
Active = true
Research Resource = ServiceCatalogSearchResource
3. Open the record and change 'Action Label'.
4. Save
Hope it helps.
Kindly mark this as Accepted Solution/Helpful if above info. helps in any way and help in closing this thread.
Regards,
Shubham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 09:48 AM - edited 08-14-2024 09:50 AM
Hello @MMGF
Yes, you can change the label to select.
-Type cxs_rp_config.list in Navigation.
-The 'Record Producer Configurations' table get opened, then type Create Incident in Name column
- Select the record and go to the related list 'Search Action Configurations'
- Then change the Action label of Order into Select
It will work.
Hope it helps.
Kindly mark this as Accepted Solution/Helpful if it is really helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 12:42 PM
I tried both of these and I still see 'Order' instead of 'Select'.
Maybe there is a different configuration table I need?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2024 12:56 AM
Hii @MMGF ,
Please select the correct record producer, might be you have chosen a different one and do logout and login once