You need to sign in to do that
Don't have an account?
yogesh.rankawat
Override 'Enable Customer Portal User' standard button of Contact
'Enable Customer Portal User' standard button of Contact is not Override correctly means it does not do override s-control action.
Please fix this problem.
Please fix this problem.
depends on this logic the 'View Customer Portal User' is display/hide.
You need a VisualForce page like this:
<apex:page standardController="User">
</apex:page>
When I overrode the button, and I clicked it, the URL invoked was:
https://c.na6.visual.force.com/apex/c04025321
?ut=c
&retURL=%2F0038000000YGD3n
&cntc=0038000000YGD3n
&Email=j.davis%40expressl%26t.net
&Username=j.davis%40expressl%26t.net
&Title=Director%2C+Warehouse+Mgmt
&Department=Warehouse+Mgmt
&Phone=%28503%29+421-7800
&Fax=%28503%29+421-7801
&MobilePhone=%28503%29+421-4387
&name_firstName=Josh
&name_lastName=Davis
&Alias=jdavi
&Addressstreet=621+SW+5th+Avenue+Suite+400%0APortland%2C+Oregon+97204%0AUnited
+States
&CommunityNickname=j.davis
&scontrolCaching=1
&sfdc.override=1
You can use these parameters to pre-load the data in your VisualForce page.
Andrés Pérez
Senior Developer Support Engineer