+ Start a Discussion
Vaibhav ShettiVaibhav Shetti 

Using sforce.one.back() with sforce.one.createRecord()

I am using sforce.one.createRecord('Custom_Object__c') to create record of Custom_Object__c. When the record is created, I want to go back to the same page which launced Custom_Object__c record creation window. Using sforce.one.back()  like - 


closes the Custom_Object__c record creation window and takes back to previous page without allowing me to create record. How do I handle this? Am I missing something here?
Raj VakatiRaj Vakati
use window history DOM object from the javascript