Follow the steps listed below to learn how to add links for users to create a new Tier 2 record for each Tier 1 record present in a report.
Step 1: Copy the new record URL
In our example, we'll link to a new Service Tracking record for each participant in our report. Once you've decided which Tier 2 form you want users to create records of from your report, navigate to it as though you're creating a new record.
Copy the URL on this page and paste it somewhere to refer to later, such as a Word document or Notepad.
Step 2: Add the Record ID column
In your report section, pull in the Record ID from the Tier 1 form that's connected to the Tier 2 form users will create new records for. For our report, this is the Participant Profile form.
Step 3: Use a custom expression
Open the column properties and change the data style to Custom Text. Copy and paste the following custom expression into the box:
CONCAT('<a href="https://apricot.socialsolutions.com/document/edit/form_id/0/parent_id/',[column],'/id/new">Click Here to Create New Attendance Record</a>')
Replace the text in double quotations with the URL you copied previously (this should only change the form ID and parent ID), then replace the parent ID in the URL with the following text (including the single quotation marks):
',[column],'
As an example, this was our final custom numeric expression:
CONCAT('<a href="https://apricot.socialsolutions.com/document/edit/form_id/9/parent_id/', [column],'/id/new">Create New Service Record</a>')