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
MikeyJamJamsMikeyJamJams 

Can I Pass Values from an Embedded VisualForce page in the URL?

Hi everyone,

 

I guess this is an "Is this possible?" question. In our current setup we are using the standard Contact object, and users create custom Accommodation records through an Accommodations related list on the Contact record. I know I can create a custom "New Accommodation" button on the related list that allows us to pass Contact fields in the URL and pre-fill fields on the Accommodation Record Edit page.

 

However, on our contact page, we have a VisualForce page embedded as its own section. It does some caluculations with related objects and displays these values. Is it possible to pass a value from the embedded VisualForce page in my URL. and if so, how can I do that? Or, can I only pass values stored directly on the Contact record itself?

 

Thanks!

Mikey