How to disable Ask Otto in the Project Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How do we disable/hide the Ask Otto button in the project workspace? We have disabled all the SPM skills, suppressed the Otto welcome message, and disabled the Otto Panel in Next Experience / Workspaces but this button still appears. Because the other items are disabled, this button doesn't actually work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi,
This looks like a separate Project Workspace UI element rather than the global Otto Panel. Disabling the Otto Panel and SPM skills doesn't necessarily remove the Ask Otto button from the workspace.
I'd check the workspace configuration first before attempting any customization.
Navigate to All > UI Builder.
Open the Project Workspace experience.
Inspect the relevant page and locate the Ask Otto component or button.
Check its visibility conditions and any associated client-side configuration.
If it is a configurable component, hide it using the supported page configuration.
Test the change in sub-production before publishing.
I'd avoid modifying OOTB workspace components directly, as upgrades may overwrite those changes.
One thing worth checking is your SPM application version, as the component and its configuration may differ between releases.
ServiceNow references:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
HI @sheltonthom ,
Open : now/nav/ui/classic/params/target/sys_ux_client_script.do%3Fsys_id%3Dba83187dffbc0310f6dfffffffffff14%26sysparm_view%3D%26sysparm_domain%3Dnull%26sysparm_domain_scope%3Dnull%26sysparm_record_row%3D9%26sysparm_record_rows%3D9%26sysparm_record_list%3Dmacroponent%253d42f1d003a30631109b37765346fcda70%255eORDERBYname
Update the client script:
/**
* @param {params} params
* @param {api} params.api
* @param {any} params.event
* @param {any} params.imports
* @param {ApiHelpers} params.helpers
*/
function handler({
api,
event,
helpers,
imports
}) {
// Get access check result, default to false if unavailable
// const hasAgentAccess = api.data.get_access_to_project_answers_agent_1?.output ?? false;
// const entityDetails = api.state.entityDetails || {};
// const isProjectTable = entityDetails.table === 'pm_project';
// const hasAccess = hasAgentAccess && isProjectTable;
// Hide project answers if user doesn't have access
api.setState('hideAskOtto', true);
}
Hope this will help you!