issue of reference field in workspace

mahesh_03
Tera Expert

Hi all,

I am facing an issue with the Assignment Group field. I have applied a reference qualifier to this field, and it is working correctly as per the configuration in both the Workspace and the Native UI.

However, in the Workspace, when I try to change the Assignment Group using the magnifying glass icon, it shows the expected groups. But when I select one of the groups, it is not being applied to the field. On the other hand, if I type a word in the field to search, suggestions appear, and I can successfully select the Assignment Group this way.

The issue seems specific to selecting an Assignment Group using the magnifying glass icon in Workspace. I have checked other OOTB Workspace reference fields, and they work fine with the magnifying glass icon.

If anyone knows the root cause or has a solution, your help would be greatly appreciated.

Thank you!

mahesh_03_0-1733144466972.png

 

 

1 ACCEPTED SOLUTION

Hi @mahesh_03 

According to ServiceNow its duo to a misconfiguration of the workspace.

Please see:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1645501 

 

Follow the below steps for the issue to be fixed:

  1. Open the page variant that is affected in the UI builder
  2. Go to settings
  3. Click the dropdown under 'Actions' & select 'Page definition' - this will open the sys_ux_macroponent record
  4. Scroll down to the composition section
  5.  Within this section, scroll down till you find the elementId: "modalContainerViewport"
  6.  Scroll down till you find operationName: RECORD#CLOSE_MODAL
  7.  Go to extensionPoints method
  8.  Here, replace the empty value ("") of "controllerElementId" with "record" & save the form.
  9. Close the workspace & test the issue, notice the issue is fixed & value gets populated.

Here is the screenshot for your reference.

SimonChristens_1-1733312120889.png

 

View solution in original post

11 REPLIES 11

The present issue is in new workspace only and coming to older ones it is working fine 

As stated - try give it some time and recheck - it helped me.

Okay thanks and I'll wait and check

yuvarajkate
Giga Guru

The problem might be tied to how the Reference Qualifier or field settings are behaving specifically in Workspace. Here are a few things you can try:

  1. Double-check the Reference Qualifier:
    Make sure the qualifier isn’t doing something that resets or blocks the selection when using the magnifying glass.

  2. Look at Client Scripts and UI Policies:
    Sometimes, scripts or UI policies tied to Workspace can interfere. Check if there’s anything that might be overriding the field value after selection.

  3. Review the Field Mapping for Workspace:
    Ensure the field is correctly configured in the Workspace view. Mismatches here can cause strange behavior like this.

  4. Use the Developer Console:
    When you select the Assignment Group with the magnifying glass, check the browser’s console for errors. This can give clues about what’s going wrong.

  5. Test with a New Field:
    Try creating a new reference field pointing to the same table with the same reference qualifier. If it works, there might be an issue specific to the original field.

  6. Check for Workspace Updates:
    If none of this helps, it might be a bug. Check if there are any updates or patches available for your Workspace version.

Hi @mahesh_03 

According to ServiceNow its duo to a misconfiguration of the workspace.

Please see:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1645501 

 

Follow the below steps for the issue to be fixed:

  1. Open the page variant that is affected in the UI builder
  2. Go to settings
  3. Click the dropdown under 'Actions' & select 'Page definition' - this will open the sys_ux_macroponent record
  4. Scroll down to the composition section
  5.  Within this section, scroll down till you find the elementId: "modalContainerViewport"
  6.  Scroll down till you find operationName: RECORD#CLOSE_MODAL
  7.  Go to extensionPoints method
  8.  Here, replace the empty value ("") of "controllerElementId" with "record" & save the form.
  9. Close the workspace & test the issue, notice the issue is fixed & value gets populated.

Here is the screenshot for your reference.

SimonChristens_1-1733312120889.png