You need to sign in to do that
Don't have an account?
sonam
Open detail record in edit mode
Requirement:
1. On the save of CASE we want to open newly created Case Review in 'EDIT' mode.(Case is Parent Object and Case Review Detail Object)
2. Case review has certain fields populated from case.
3. We are using standard page layout.
Please help. we've reached a dead end.
public PageReference save()
{ return new ApexPages.StandardController(Influencer).edit();
}
This has the advantage of using the standard utility that forms the correct link for you; if salesforce.com changes their behavior later, this code will still get the correct url.
(or)
pagereference casepage=new pagereference('\'+ID+'/e?returl=%2Fa'+ID