Closing a Tab in custom workspace - solution -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 11:48 PM
Hi, I want to share simple UI action which did the trick. You must set the UI action to be client side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 05:43 AM
I have a question for anyone that might know, We currently use g_aw.closeRecord() in CSM Configurable Workspace. This API function works most of the time but we have experienced certain situations where it will not close the case tab. Would this cause an issue since in the documentations it says that g_aw is suppose to be used within Agent Workspace?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 04:23 AM
We can do it by dispatching "SCREEN_STATUS_CHANGED" event with a payload { status: "closed" }
Add a new dispatched event in Body component named "SCREEN_STATUS_CHANGED" and add payload using advanced flag as "status" as string.
On your event handling for the button, add SCREEN_STATUS_CHANGED event with the payload status=closed and save it.
Now when you click on the button, it will close that tab.
Please mark as helpful if it answers your question.