Workspace Reference icon does not work on case creation form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 02:39 AM
Hi All,
I created custom reference field and added it to case creation form on workspace (screen below). Since this field is reference, it has two decoration icons "Open Record" and "Search for Record". The issue is that they are not working for custom field. When record is created, these decoration icons work fine.
I tried to configure Action assignment (sys_declarative_action_assignment) and UX Add-on Event Mapping(sys_ux_addon_event_mapping) but this do not help. Does anyone has an clue where this might be configured?
Regards
Greg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 05:58 AM
Not quite following you but those are system decorations that come with every reference field https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/field-administration...
Are you trying to make them go away once the field is populated? If yes, make the field read-only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 09:17 AM
Hi @Michael Fry1,
The issue is that these decoration icons does not work when I add custom reference field to case creation form. I would like to keep them but only if they work fine (field must be editable). I noticed that for other reference fields like "Subject Person", these decoration icons are hidden so maybe this is limitation of UIB case creation form.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 01:30 PM
What do you mean they don't work? You click on the reference icon to open the record and the record page doesn't open?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 11:30 PM
Yes, nothing happens. I found that the case creation form component has some script in the "Fields" property that does some decoration manipulation, so maybe that is the cause of this problem. I need to investigate this more closely