Passing Get Page URL thru to Salesforce

  • eric.lander
    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 https://www.jotform.com/answers/678055-how-to-get-get-form-page-url-widget-field-in-salesforce, 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.

    Thanks!

  • Ashwin JotForm Support
    Replied 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:

    1637515540 619a81148cfd5 trackPageURL Screenshot 10

    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.

  • eric.lander
    Replied 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!