• bharti mehta 4
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I have a problem in salesforce1.
We are redirecting to a record's Edit from a custom vf page and it opens too.But when we click on save it takes to a blank screen.
We have used below : 
sforce.one.editRecord('<recordId>');
sforce.one.navigateToURL('/' + recordId + '/e?saveURL=%2F%2FsObject%2F' + recordId + '%2Fview');

For more detail : 
We have a related list  and a new button on that. On click of new we are redirecting to a vf page and inserting a new record and that taking user to the standard edit layout of the newly created record.
I have a problem in salesforce1.
We are redirecting to a record's Edit from a custom vf page and it opens too.But when we click on save it takes to a blank screen.
We have used below : 
sforce.one.editRecord('<recordId>');
sforce.one.navigateToURL('/' + recordId + '/e?saveURL=%2F%2FsObject%2F' + recordId + '%2Fview');

For more detail : 
We have a related list  and a new button on that. On click of new we are redirecting to a vf page and inserting a new record and that taking user to the standard edit layout of the newly created record.