Skip to main content
deleted 46 characters in body
Source Link
Adrian Larson
  • 151.3k
  • 38
  • 247
  • 431

If it the Opportunity page is a custom VF page, rather create an instance on controller side for Opportunity which you will bind on VF page.

Just send the Account Id and then populate the Opportunity instance on controller constructor based on Account details, that will give all values on load of Opportunity page.

Also this is not ideal to send all values through URL. as it can increase very quickly.

Let me know if it helps.

Thanks,

Ray

If it the Opportunity page is a custom VF page, rather create an instance on controller side for Opportunity which you will bind on VF page.

Just send the Account Id and then populate the Opportunity instance on controller constructor based on Account details, that will give all values on load of Opportunity page.

Also this is not ideal to send all values through URL. as it can increase very quickly.

Let me know if it helps.

Thanks,

Ray

If it the Opportunity page is a custom VF page, rather create an instance on controller side for Opportunity which you will bind on VF page.

Just send the Account Id and then populate the Opportunity instance on controller constructor based on Account details, that will give all values on load of Opportunity page.

Also this is not ideal to send all values through URL. as it can increase very quickly.

Source Link
SEuser
  • 1.8k
  • 4
  • 26
  • 42

If it the Opportunity page is a custom VF page, rather create an instance on controller side for Opportunity which you will bind on VF page.

Just send the Account Id and then populate the Opportunity instance on controller constructor based on Account details, that will give all values on load of Opportunity page.

Also this is not ideal to send all values through URL. as it can increase very quickly.

Let me know if it helps.

Thanks,

Ray