You need to sign in to do that
Don't have an account?

Supress Sidebar on retURL (for display in Console frame)
I've created a custom button on a Lead page that returns the user back to the lead page within the main Console window. The problem is that I now have 2 sidebars displayed - the one on the console as well as the one within the main frame. How do I modify the retURL parameter to suppress the sidebar within this frame?
Thanks,
David
I couldn't get that to work either, but I found the answer. The recently used links on the main console sidebar include the correct querystring parameter to suppress not only the sidebar, but the tabs as well.
Just append ?isdtp=mn to the URL.
All Answers
In the button settings, you can select whether you want to display the sidebar and header or not.
There you can remove these!
Cool_D
Hi,
In that case, create a dummy button and attach it to an onClick JS, redirecting to the standard lead page.
Now in the retURL, call this button Id, which will then redirect you to the lead page without the sidebar as you would have configured in the button settings!
Cool_D
Thanks for the reply. I believe I tried what you suggested, but it doesn't work. Perhaps I did it wrong. For the retURL, I used the ID for the dummy button that I created, but I end up on the edit page for the button itself. I did some searching but I can't see how to direct salesforce to click a button by including its ID in the retURL.
I tried this (pseudocode) but that doesn't 'click' the button on the lead page:
/{!Lead.Id}/{!dummybuttonID}
Can you include an example of what you're suggesting?
Thanks,
David
You dont need to give just the ID, relative URL is required.
Something like, "servlet/servlet.Integration?lid=BUTTONID"
Cool_D
I couldn't get that to work either, but I found the answer. The recently used links on the main console sidebar include the correct querystring parameter to suppress not only the sidebar, but the tabs as well.
Just append ?isdtp=mn to the URL.
thanks for giving your solution, it help me too :)