0

I'm creating a parent and multiple child records on single click from vfpage. Now I want to show that created parent and child records on another page. How can I do that?Any suggestion will be appreciated.

1
  • 1
    Solution can be very easy. Just create a visualforce page, that query in controller newly created record and all children, and shows that.
    – kurunve
    Jul 14, 2017 at 11:56

1 Answer 1

0

Use the same controller for the other page. and in the first page while setting the redirect to go to the second page , set redirect to false.

More explanation in the link below https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_System_PageReference_setRedirect.htm

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .