Find your content:

Search form

You are here

Custom Button Return URL (retURL)

 
Share

I am using a custom button to execute a flow and a retURL tag to return to the record after the flow has been completed.

/flow/SAMPLEFLOW?RecID={!OBJECT.Id}&retURL=https://na10.salesforce.com/{!OBJECT.Id}

The button is currently set to display in the current window w/o header or sidebar.

I would like to set the custom button to display w/o a sidebar BUT WITH THE HEADER

Does anyone know of any URL parameters I can pass in to the retURL to return to said URL but without a side bar or header.

This is to prevent the frame in frame look - Thanks


Attribution to: Justin J Carlson

Possible Suggestion/Solution #1

The easiest way would be to embed the Flow in a visualforce page and have your button call your page. When you embed your flow there's a completion attribute you can assign to return the user when the flow is completed.

http://www.salesforce.com/us/developer/docs/pages/Content/pages_flows_adding.htm


Attribution to: Salesforce Wizard

Possible Suggestion/Solution #2

I reckon isdtp=vw (the magic service console parameter) should do it.


Attribution to: techtrekker
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/5577

My Block Status

My Block Content