Skip to content

Fix g_form console access in workspace for Utah/HR Agent - #2673

Open
ishitadatta wants to merge 1 commit into
ServiceNowDevProgram:mainfrom
ishitadatta:fix-g-form-workspace-utah
Open

Fix g_form console access in workspace for Utah/HR Agent#2673
ishitadatta wants to merge 1 commit into
ServiceNowDevProgram:mainfrom
ishitadatta:fix-g-form-workspace-utah

Conversation

@ishitadatta

Copy link
Copy Markdown

Summary

Fixes the getGlideFormAW() helper so it works in Utah/HR Agent Workspace where sn-workspace-content is no longer always present.

What changed

  • Replaced the hard-coded sn-workspace-content path with a shadow-DOM deep search helper.
  • Added a primary lookup for configurable workspace via sn-form-data-connected.nowRecordFormBlob.gForm.
  • Kept a fallback path for legacy workspace forms via .sn-workspace-form and React internals.
  • Updated README notes for null-return behavior and usage in active record tabs.

Issue

Notes

  • This commit only includes the g_form console access in workspace snippet files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant