You need to sign in to do that
Don't have an account?
Karthikeyan Ramamoorthy
<apex:page StandardController="opportunity"> <apex:form > <apex:commandButton action="{!URLFOR($Action.Opportunity.Share, Opportunity.Id)}" value="Create New Object"/> </apex:form> </apex:page>
While saving the vf page
"<apex:page StandardController="opportunity">
<apex:form >
<apex:commandButton action="{!URLFOR($Action.Opportunity.Share, Opportunity.Id)}" value="Create New Object"/>
</apex:form>
</apex:page>"
It throws me this error. What Am I Missing?
"<apex:page StandardController="opportunity">
<apex:form >
<apex:commandButton action="{!URLFOR($Action.Opportunity.Share, Opportunity.Id)}" value="Create New Object"/>
</apex:form>
</apex:page>"
It throws me this error. What Am I Missing?
For me its working fine.
Make sure you are passing the correct id of opportunity in the url after loading the vf page.