Skip to content

Record links: send a form already filled in

A record link opens one of your forms already filled in with details from one Salesforce record. Staff create it from the record, send it to the person it is about, and the answers come back onto that same record.

The record’s details are not written into the link. They are kept in your org, and the link only carries a secure reference to them. Nothing about the record can be read from browser history, a log of web addresses, or a screenshot of the address bar.

Anyone who has the link can see what it fills in. Send it the way you would send anything else about that person.

However you create a record link, the same rules apply:

RuleDetail
It expires after 7 daysThis cannot be changed. The panel shows the expiry date
It stops working once the form is submittedOpening it again tells the respondent their answers were received, rather than showing the form again
One live link per form per record, across the whole orgCreating a new one, from anywhere, by anyone, replaces the old one. The old link stops working straight away
Creating a new link throws away saved progressThe new link starts again from the record’s current details. If someone is part-way through, wait rather than create a new link

Your Salesforce admin adds the Sliick Form Record Link component to the record page. Staff then click its button and get the link and its expiry date, with a Copy button.

The record link panel on a Contact record: a form picker, then a list headed This link will carry, showing each field's value and where it came from

The button says Generate link unless whoever added the component changed it, so yours may read differently. The page in the picture uses a custom label.

If the admin set the component to one form, it shows that form’s name. If not, staff choose from a list of the forms that map fields on that object, and the preview appears as soon as they choose one.

Adding the component (an admin does this once per object):

  1. Open a record of the object you want.
  2. Click the Setup gear, then Edit Page.
  3. Drag Sliick Form Record Link from the Custom components list onto the page.
  4. If you like, set Form External ID to the form the button should create links for. You can find it in the Form Builder under Settings. Leave it blank to let staff choose the form.
  5. If you like, set Button Label. This lets one page carry several buttons, one per form.
  6. Click Save, then Activation if this is a new page.

Anyone using the button needs Sliick Forms Operator or Sliick Forms Admin. See Install and permission sets.

Prefer a button in the action bar? You can create a Quick Action yourself (a Lightning Component action) that uses the same component. It cannot come with the package, because it has to name your object.

The Create prefill link panel with an object and record chosen and a preview of the fields the link will fill in.

In the Form Builder, open the Share tab and find the Create prefill link panel. Pick the object, then search for the record by name. The search only covers the objects the form maps, so you never need a record ID.

Click Generate and copy the result. If the form has a public address, you get the whole link. If not, you get a ?sliickPrefill=... value to add to the end of wherever you placed the form.

Before you create anything, the panel lists what This link will carry, one line per field. Each line says where its value comes from:

The line saysWhat it means
from the recordThe value on the record. The respondent sees it already filled in
empty on this recordThe field is blank on the record, so the respondent fills it in
identifies the recordThe matching field. This is how the form knows which record to update
typed for this linkA one-off value you added (see below)

Open Add a value for this link, pick a Field, type a Value, and click Add. It appears in the preview as typed for this link and replaces whatever the record holds. It can also fill in a field the record does not map.

It only applies to that one link. Nothing is saved back to the record.

You cannot add a value for the matching field, because that would point the response at a different record.

In the builder, select the field and tick Never prefill this field, under its mapping. That field is then always left empty when a form is filled in from a record: on a link, from the record page button, and on a form inside Salesforce that fills in from a record.

It does not affect save and continue. A respondent’s own saved answers always come back. See Save-and-continue.

You cannot tick it on a matching field.

Use the Create Sliick Form Record Link action, in the Sliick Forms category.

  • Inputs: Form External ID and Record ID (both text), plus an optional Value Overrides (JSON).
  • Outputs: Success, URL, Expires At (a date/time you can save straight to a field), Error Code and Error Message.
  • Value Overrides (JSON) sets the same one-off values as the panel: field API names and values, written like {"Field_API_Name__c": "value"}. Build it in a Text Template set to Plain text. Rich text breaks the quote marks.
  • The action does not stop your Flow when it fails. If one record is refused, the others still get links. Check Error Code to handle refusals.
  • There is a limit on how many links one Flow run can create. Too many in one go comes back with the error code BATCH_TOO_LARGE. About ten to twenty per Flow run is comfortable.

Developers can create a record link in Apex with sliick.FormsApi.invoke('createRecordLink', ...). It runs as the user calling it, so it only fills in what that user can already see on the record. The details are on The Sliick Forms REST API.

The message tells you what to do:

The message saysWhat to do
No forms availableNo form maps a field on that record’s object. Add mappings in the Form Builder
No public addressSet your org’s address on the Admin Dashboard’s Delivery panel, or give the form its own Share URL. See Sharing a form
Nothing to prefillNo field on that form maps to a field on that object
Not accepting responsesThe form is paused, outside its schedule, or has reached its response cap. See Accepting responses
No permissionAssign Sliick Forms Operator or Sliick Forms Admin

If the form has not been published yet, you are asked to publish it first.

It only fills in mapped fields. An unmapped question is always blank, unless you add a one-off value for that link.

On a form inside Salesforce, the person filling it in needs read access to the record and its fields. Filling in from a record on an internal form is for signed-in users, not anonymous visitors.

Filling a field from the page link is a different feature. It is set field by field, and described under Sharing a form. A record link always wins over it.