{"id":7129,"date":"2021-04-15T07:42:20","date_gmt":"2021-04-15T07:42:20","guid":{"rendered":"https:\/\/docs.campaignsuite.nl\/docs\/gravity-forms\/salesforce\/prefilling-based-on-contactid\/"},"modified":"2021-04-15T08:18:39","modified_gmt":"2021-04-15T08:18:39","slug":"prefilling-based-on-contactid","status":"publish","type":"docs","link":"https:\/\/docs.campaignsuite.nl\/en\/docs\/gravity-forms\/salesforce\/prefilling-based-on-contactid\/","title":{"rendered":"Prefilling based on ContactID"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"7129\" class=\"elementor elementor-7129\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bf52e58 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bf52e58\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bc78fd2\" data-id=\"bc78fd2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c158187 elementor-widget elementor-widget-text-editor\" data-id=\"c158187\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>When CampaignSuite has established a connection with Salesforce, it is possible to prefill a form with values from a Contact or Account from Salesforce.<\/p><p>Of course, you must first link the correct fields to each other under <strong> Salesforce objects <\/strong> in the settings of the Salesforce form. In this way CampaignSuite knows which information should be displayed in which fields.<\/p><p>To retrieve all data from Salesforce, simply add the Contact ID to the URL:<\/p><p><strong>https:\/\/www.website.nl\/form?contact=<em>{ContactId}<\/em> <\/strong><\/p><p>In the URL, replace <em>{ContactId}<\/em> with an ID from Salesforce.<\/p><p>It is also technically possible to make this check more secure by making multiple fields mandatory in the URL (such as Email). Then CampaignSuite searches for the Contact where the ID matches and the email address. If you would like this supplement, please contact Gopublic.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>When CampaignSuite has established a connection with Salesforce, it is possible to prefill a form with values from a Contact or Account from Salesforce. Of course, you must first link the correct fields to each other under Salesforce objects in the settings of the Salesforce form. In this way CampaignSuite knows which information should be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":7079,"menu_order":7,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-7129","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/comments?post=7129"}],"version-history":[{"count":9,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7129\/revisions"}],"predecessor-version":[{"id":7178,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7129\/revisions\/7178"}],"up":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7079"}],"wp:attachment":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/media?parent=7129"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/doc_tag?post=7129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}