Skip to content

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

Open
ishitadatta wants to merge 1 commit intoServiceNowDevProgram: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 intoServiceNowDevProgram:mainfrom
ishitadatta:fix-g-form-workspace-utah

Conversation

@ishitadatta
Copy link

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

g_form console access in workspace does not work in HR Agent workspace (Utah)

1 participant