+ Start a Discussion
Diane12345Diane12345 

Jumping from scontrol to Object in edit modus

Hi!
 
I'm developing scontrols in Java Script. It is quite simple to jump at the end to a newly created object,
e.g.
window.parent.parent.location.href = myNewObjectId;
 
but how can I jump directly to the Object in edit mode? (so that the user can go on editing this object) 
Is this possible? How?
 
Thanks
 Diane
 
 
cheenathcheenath
Try this:

window.parent.parent.location.href = myNewObjectId + "/e";

HTHs,
cheenath
Diane12345Diane12345

Great! Thanks!

Diane

AmitabhleoAmitabhleo
Hi Manoj,

I am also having a problem with this link

window.parent.parent.location.href = Billings__c.Id+"/e";

but the URL that it generates is the following, if i manually remove the "/servlet" I go to the desired page.

https://emea.salesforce.com/servlet/a00200000074wODAAY/e

Please advice.

Thanks in advance.

Amitabh