function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ivan Daskalov 7Ivan Daskalov 7 

Close tab in cloud console

Hello,

Currently I've overrided the New, Edit and Detail views for Account object. After clicking Save when creating a new record I am trying to open Details in a new tab and close the existing one(New page) with sforce.console.closeTab(result.id). When I try to close the tab with this function a popup for unsaved changes appears outside my Iframe and I'm not able to click it programatically. Any ideas or workaround for this issue?
User-added image
Many Thanks