You need to sign in to do that
Don't have an account?
shravan
When closing Salesforce tab to get the alert
Hi,
When closing Salesfoce page I have to get the alert like 'do you want close the page' . Like that I have to get the message when I am closing My salesforce Tab.
Please Help Me.
On which browser you are working? And when you are facing this error, when you close the tab in which any visualforce page is opened or any tab of salesforce?
Also it will be good if you can provide us the screen shots.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi,
when we closing salesfoce page it is closing, we are getting any dailog box. But My requirement is when I am closing salesfoce page I have get the dailog box.
Please Reply Me
Not sure, but you can do this using JS on your visualforce page on "onClose" event.
And if you want that alert on every page then you can do this again by using JS in home page component.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi,
when we closing salesfoce page it is closing, we are not getting any dailog box. But My requirement is when I am closing salesfoce page I have get the dailog box.
Please Reply Me
Please do not post the same content again and again. If you want to change any text in your post you can click on "Options" and edit your reply.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi,
we are implemented but problem is when we clicking Lead, Opp, Acc,.... any button in page we are getting that dialog box.
Hi Shravan,
Can you be more clear on your requirement?
Are you closing a Visualforce tab or Standard SFDC Tab and for which Tab the prompt is shown?
Its better if you post the screenshots as Ankit said else will be tough to understand what needs to be done.
Hi Imran,
Our requirement is to perform an action when a Visual Force page is closed. We are able to achieve a partial solution. We are able to capture the following action using javascript.
But we are not able to capture the following actions
Hi Shravan,
Try pasting the below mentioned code in a Visualforce Page and let me know if it does not work.
Regards,
Harpreet Dhillon
Salesforce Developer.