Prefilling Community Forms from Record List Component

In this article, we will demonstrate how with just a couple clicks, you can set up your community form to prefill data from a Lightning Record List component

Remote Site Settings

Remote Site settings can be set up from the Formstack App Admin Settings Panel. If there are issues with prefill on your Community forms, you can confirm these settings are properly set by following these directions.

Setup Prefill

For the purpose of this article, we've already built our form. So now, let's publish it, and navigate to our publishing options.

 

From here, simply enable Dynamic Prefill, and you will be presented with some new options

On your primary object, you will see the ability to select your Prefill source. We'll select the Record List option.  Once it has been set up, hit Save Prefill.

 

Record Detail Page in Community

Now that Prefill in place, you'll want to place your Formstack form on a Lightning Record Detail Page in your Salesforce Community.

You can place the Formstack component on any record detail page: standard, custom or the default Record Detail page used for objects that do not have their own Record Detail pages created. The standard lightning components can be kept or removed from the page.  

If you have not created a Record Detail page and would like to, see Create Custom Pages with Community Builder.

 

When you select a record from a Lightning Record List or Related List component or any record detail link/button, your Formstack form will now appear on the Record Details page and be prefilled with details from the primary object and other related objects.

 

If you need more information on how to embed your Community Form inside a Salesforce Community check out this support document.

 

 

Was this article helpful?
1 out of 3 found this helpful

Comments

0 comments

Article is closed for comments.