You need to sign in to do that
Don't have an account?
V MANJU
Normal Related list Link: https://manjudomain-dev-ed.my.salesforce.com/a0d/e?CF00N9000000Cxf5u=Project+management&CF00N9000000Cxf5u_lkid=a0c90000006nOxQ&retURL=%2Fa0c90000006nOxQ
I need custom Like that.
public PageReference redirectUser(){
list<Project__c> lst =[select id, Name from Project__c WHERE id= :ApexPages.currentPage().getParameters().get('id')];
System.debug('@@@lst@@@'+lst);
PageReference ref = new PageReference('/a0d/e?CF00N9000000Cxf5u={lst.Name}&CF00N9000000Cxf5u_lkid={id}&retURL=%2F{id}');
return ref;
}
Thanks:
How to populate the url Id name in another Page url, see below screens.
Normal Related list Link: https://manjudomain-dev-ed.my.salesforce.com/a0d/e?CF00N9000000Cxf5u=Project+management&CF00N9000000Cxf5u_lkid=a0c90000006nOxQ&retURL=%2Fa0c90000006nOxQ
I need custom Like that.
public PageReference redirectUser(){
list<Project__c> lst =[select id, Name from Project__c WHERE id= :ApexPages.currentPage().getParameters().get('id')];
System.debug('@@@lst@@@'+lst);
PageReference ref = new PageReference('/a0d/e?CF00N9000000Cxf5u={lst.Name}&CF00N9000000Cxf5u_lkid={id}&retURL=%2F{id}');
return ref;
}
Thanks:
try this out
PageReference ref = new PageReference('/a0d/e?CF00N9000000Cxf5u='+lst[0].Name+'&CF00N9000000Cxf5u_lkid='+id+'&retURL=%2F'+id);
Jerome