Setup Custom Lookup For SharinPix Form In Progress

Overview

In this article, we will demonstrate how to setup the SharinPix Form In Progress Sync. To do so we will:

circle-exclamation

Step 1: Creation of a Lookup Relationship Field on SharinPix Form In Progress

Depending on the Object you want to use SharinPix Form In Progress Sync on, you must create a lookup relationship field on the SharinPix Form In Progress Object that links to the parent object. This demo will use the SharinPix Visit object.

Follow the steps below:

  • Go to Setup, then access Object Manager

  • Type form in the search bar, press Enter, and click SharinPix Form In Progress

  • On the left menu, click on Fields and Relationships, and then click on New

For the new field:

  • Select Lookup Relationship as Data Type then click Next

  • For the field Related To, select SharinPix Visit then click Next

  • On the next page, the field Field Label will be auto-populated

  • Enter a Field Name; as an example Visit_Lookup__c

  • Leave the other fields as default

  • Proceed to the next steps and finally save the new relationship.

When you take a look back at the Fields & Relationships section, you should see the new relationship displayed as shown in the figure below.

  • Copy the field name: Visit_Lookup__c as we will need this in our next step.

circle-exclamation

Step 2: Configure the Custom Metadata

This section demonstrates how to configure the SharinPix Form In Progress Setting custom metadata.

To do so, follow the steps below:

  • Go to Setup and type metadata, then click on Custom Metadata Types

  • Select the Manage Records action next to the label SharinPix Form In Progress Setting

  • Create a new record.

  • For the field Label, as an example, enter Form Sync on Visit

  • The field SharinPix Form In Progress Setting Name is auto-populated when clicking anywhere outside the text box.

  • For the field Parent Object Name, enter the object API name; in our case it is sharinpix__Visit__c

  • For the field Parent Field Name, enter the field name of the lookup relationship field created in the previous section, that is Visit_Lookup__c ( Remember the field name we asked you to copy? You can now paste it here )

  • Click Save when done.

circle-exclamation

Last updated

Was this helpful?