Passing Get Page URL thru to Salesforce

  • Profile Image
    Asked on November 21, 2021 at 11:24 AM

    Hi -

    I need to pass through the page URL where the form was placed to Salesforce. I'm using Get Page URL to grab the host page's URL which works just fine. However, I'm not able to set the integration to pass this field into Salesforce.

    I found this old request thread, and it seems like this may still not be a feature? I'm not able to use the solution that Ben provides in the end because I need to use the embed option, not the full source code.


  • Profile Image
    Answered on November 21, 2021 at 12:27 PM

    Please note that the "Get Form Page URL" widget cannot be mapped with the Salesforce field in integration. To achieve your requirement, I would suggest you to please add "Form Calculation" widget in form and configure it to read the value of the "Get Form Page URL" widget. Please check the screenshot below:

    Please map this form calculation widget with the Salesforce field, which will capture the URL and send it in the integration.

    Hope this helps.

    Do try it out and get back to us if you have any questions.

  • Profile Image
    Answered on November 22, 2021 at 12:49 PM

    Thank you for this solution! It worked well, but I actually figured out the problem was that my Salesforce field was looking for a URL type. When I changed it to text type, the integration worked directly with the get page url widget. Thanks again!