Method "applyTemplate" does not work in Agent Workspace with ReferenceError: applyTemplate is not definedIssue The "applyTemplate" method is a utility function to apply a template to the current form. This does not work in Agent Workspace, the JavaScript error below is thrown in the browser console: js_includes_clientScript.js:3598 (g_env) [SCRIPT:EXEC] Error while running <CLIENT_SCRIPT_NAME>": ReferenceError: applyTemplate is not defined.ReleaseAll releases where the Agent Workspace is supported.CauseThe "applyTemplate" is not supported in Agent Workspace and there is no g_form equivalent of that either.ResolutionCurrently, there are no utility methods/functions that can apply a template to the form automatically in Agent Workspace. However, the agents can apply a template manually via the contextual side panel:Set up templates in the contextual side panel.Related LinksFind out the differences in mobile client scripting, which is used in Agent Workspace: Mobile client GlideForm (g form) scripting and migration.