function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
birdofpreybirdofprey 

Editing and Saving multiple record across several objects.

What I am trying to do is pull information from at least two different (standard and custom) objects similar to the examples seen here:

http://www.salesforce.com/docs/developer/cookbook/Content/vf_multi_record_edit.htm

http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_massupdate.htm

 

So, what I want to do is have one button to save the chances of both objects at the same time. Is that feasable? 

 

I have a hard time figuring out how the data is being set as the save method is being called.

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

You can save all the objects, but you'll need a custom or extension controller for that.  If you are using a standard controller, that only saves the record being managed and doesn't traverse the object graph to save related objects etc.

All Answers

bob_buzzardbob_buzzard

You can save all the objects, but you'll need a custom or extension controller for that.  If you are using a standard controller, that only saves the record being managed and doesn't traverse the object graph to save related objects etc.

This was selected as the best answer
birdofpreybirdofprey

Lol, the answer was right under my nose the whole time, just took you to repeat what I had look at before to realized that.

David Roberts 4David Roberts 4
The link: http://www.salesforce.com/docs/developer/cookbook/Content/vf_multi_record_edit.htm
resolves to : https://developer.salesforce.com/docs/atlas.en-us.cookbook.meta/cookbook/vf_multi_record_edit.htm
which is a blank page asking to be saved.
Is there a new link, please?