Workspace modals open a catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 01:56 AM
HI
I have created a new workspace for helpdesk and in there i have a button that opens a modal with a catalog item.
The button has 2 events open to open the modal and one to update client state parameter.
The client state has the sys_id for Catalog Item.
The plan is to use this modal to open other items in the workspace.
But i get a error bar in the top with no info when i am trying to submit.
I can't attach more pictures now but will add them after.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 01:57 AM
I don't see anything in the log
and the source looks like this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 08:06 AM
Hmm. Is there some sort of onSubmit script doing something that could throw an error? I recreated this scenario in an instance and my catalog item submitted ok from a modal.
I would add, though, that the catalog item component is very limited in terms of both what it supports and what happens after you hit submit. You might be better off opening the catalog item in an iframe than using the component if it absolutely needs to open in the workspace. You could also just open the service portal view of the item in a new tab.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 10:31 AM
Hi - just curious why you created a custom workspace here? Service Operations Workspace (commonly known as Agent Workspace in its previous form) is prebuilt and already wired for service desk use cases.