Questions tagged [save-and-new]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
394 views

Resetting page while displaying success message

I am trying to reset/refresh my page on my form. I want to refresh the page and then successfully display the success message however, it is only refreshing the page. The success message fails to load....
Sarah's user avatar
  • 15
1 vote
0 answers
132 views

How to differentiate when user clicked on New or Save & New button in salesforce Lightning controller?

I have overridden the standard new button using lightning component. In spite of this, when user is clicking on Save & New button on the edit screen, it is navigating the lightning component. I ...
Subramani's user avatar
1 vote
0 answers
237 views

Auto populate Account name on child object while click on "Save & New" standard button

I have created a custom object and created a Master-details lookup field to Account. While creating new records, there is an issue. When I click on New button, fill in all the fields and click on "...
amit patil's user avatar
0 votes
3 answers
962 views

navigateTo : New record

I have replaced the standard "New" functionality on a custom object, and I want to navigate to the newly created record after save. I have looked at the developer documentation, and I get that I need ...
Chance's user avatar
  • 1,070
1 vote
1 answer
862 views

New Quote Button Suddenly Disappeared from SF1 July 2017

This might be an edge case but I think there will be more folks who notice that if they are using Lightning and have the Quote related list added to Opportunity they will not be able to create a new ...
binaryLady's user avatar
1 vote
1 answer
1k views

Rendering and Rerendering a command button after submitting a record

I have a two command buttons that are able to save a record. One button fully submits the record and sends it to the edit view. The other save button will update the record if there is anything the ...
Mr. HelpMe's user avatar
0 votes
0 answers
41 views

How to carry my pick list value in wizard..?

I am trying to build one custom Wizard in which I have three pick list fields. In page no 4 I am having one save button if I click that it should save my selected picklist value. My Apex Code is: ...
Anjaan's user avatar
  • 63
1 vote
1 answer
1k views

Custom Save function for a Button

I believe cardRequest is the primary culprit in this issue. It is the record object. Why does my save function not save and create a record of the page I am trying to save? public PageReference ...
Quite Curious's user avatar
0 votes
2 answers
168 views

After update visualforce page (picklist field) ...it wont refresh standard page..how it save standard page [duplicate]

After update visualforce page (picklist field) it does not refresh standard page. How it save standard page? This my controller: public with sharing class Myorderextension { public list<...
Hemalatha paruchuri's user avatar
0 votes
0 answers
885 views

How can i Override Custom button with Save & Add products(Opportunity)?

Is it possible to Override the Standard button (Save & Add Products) on creating of Opportunity with Custom Button (Actually the thing is i want only save the record with out prompting user to ...
Nihar's user avatar
  • 1,182
0 votes
1 answer
1k views

Need Save and New method in controller for save and new custom button

I trying to add Save and new button at quote line item page editor level. But I'm stuck with ideas. Controller: public PageReference save() { checkRecursive.run = false; ...
Gidy's user avatar
  • 65
4 votes
0 answers
326 views

Does defaulting save_new_url still work?

I see other posts that suggest populating the save_new_url will direct the user to a page other than the standard new for the record you are creating, but I can't get this to work. I go to this URL: ...
nikiV's user avatar
  • 403
28 votes
2 answers
522 views

How to write the superduper (=proper and stable) Custom Save method

Custom Save actions in Apex are tricky! Here are my requirements which I was unable to fulfill without harming the stability of my code: Save for New and Edit (works with record with and without Id) ...
Robert Sösemann's user avatar
1 vote
3 answers
12k views

Visualforce Error: Attempt to dereference a null object

Error comes at line 23. Line 23 is mentioned below as a code comment. I also tried by commenting this line and still error is there. But at line 24 which is upsert(Event); Controller public with ...
Superman's user avatar
  • 337
6 votes
5 answers
1k views

URL Hacking - autosave

Is there a way to autosave a record that is created or opened for editing in salesforce ? In light of this feature not being available in salesforce my users are complaining about losing data even ...
rickmac's user avatar
  • 753
0 votes
1 answer
129 views

Save Commanbutton errors out on hitting twice :System.ListException: Before Insert or Upsert list must not have two identically equal elements

I have a visualforce page, embedded in standard pagelayout of Account, that displays a list in peblocktable and can be inline edited. while hitting the Save button, it updates records and rerenders ...
user59759's user avatar
  • 581
0 votes
2 answers
2k views

Override Standard Save button on Opportunity Object

I have the below scenario to achieve : At the time of saving the Opportunity record, I want to invoke a webservice call to the external system. If the response of the call is greater than some value,...
user12340's user avatar
2 votes
2 answers
5k views

Show Warning Popup on standard Save Button Click

I have the requirement to show a WARNING POPUP / confirmation box based on a condition. If user edits the opportunity and changes the status to "Closed Won", then clicks on save then depending on ...
Angad P's user avatar
  • 336
0 votes
2 answers
8k views

Custom 'Save & New'- Button with redirect to record type selection page

My custom object has different record types and an overwritten edit page. I want to implement a 'Save & New'- Button on this VF page which redirects my users to the record type selection page. ...
David Renz's user avatar
2 votes
1 answer
5k views

Mapping Dynamic picklist value from VF Page to Custom Field

This is my VF page which has one Picklist Field and it is dynamic, I mean when a record is created in another object for ex:two__c, it's record name will get added to this picklist values. Now the ...
Sharat's user avatar
  • 1,029
1 vote
0 answers
215 views

Pass Data from VF section on detail page to standard Save button

The initial requirement is to create a Dependent Look Up so that when one look up is clicked it will control the values of second dependent look up. What I have done: Created a VF page and a custom ...
RayKaushik's user avatar
2 votes
1 answer
161 views

Saved content not displaying content right away on unauthenticated force.com page

Im trying to do a custom simple save and new method in a custom controller. Basically its just a simple form for nominations with a table above it of all the already submitted nominations and the ...
Keith Mancuso's user avatar