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

URL for Change Record Owner link
On the Visualforce page that I have created I want to add the [Change] link next to the Record Owner name so that the record owner can be re-assigned to another user. I know that the correct URL to change the Opportunity Owner looks something like this:
https://c.cs2.visual.force.com/006R00000032yPy/a?retURL=%2F006R00000032yPy
I am trying to go there with this Output Link tag:
But it adds the "apex" part of my visualforce page's URL like so:
https://c.cs2.visual.force.com/apex/006R00000032yPy/a?retURL=%2F006R00000032yPy
How do I get the correct URL?
Thanks
https://c.cs2.visual.force.com/006R00000032yPy/a?retURL=%2F006R00000032yPy
I am trying to go there with this Output Link tag:
Code:
<apex:outputLink value="{!$CurrentPage.parameters.id}/a?retURL=%2F{!$CurrentPage.parameters.id}"> [Change] </apex:outputLink>
But it adds the "apex" part of my visualforce page's URL like so:
https://c.cs2.visual.force.com/apex/006R00000032yPy/a?retURL=%2F006R00000032yPy
How do I get the correct URL?
Thanks
may be its solve your problem
http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=765
<apex:outputLink value="/{!$CurrentPage.parameters.id}/a—retURL=%2F{!$CurrentPage.parameters.id}"> [Change] </apex:outputLink>
I was wondering if you could point me to the documentation that explains the various actions available. As of yet, I haven't be able to find it, and thus, I've had trouble getting my head around actions, as I've had to resort to trial and error when I needed them.
Thanks a lot,
Mike