AutoBridge

Link Permits to Contacts, Inspections, and Related Records

An association field links a permit record to records in another entity: the applicant and contacts, review tasks, inspections, professional licenses, or a parent permit. This page covers the associations a permit type usually needs. For the field editor itself, see Associations in the Entity Builder guides.

Prerequisites

  • Both entities exist (for example Electrical Permit and your inspection entity).
  • A staff role that can configure the permitting application.

Associations a permit type usually needs

LinkDirectionNotes
Permit to ContactsMany contacts per permitCreated for you as Contacts when your application has contacts. Mark one contact field as the applicant.
Permit to Permits MenuOne portal tile per permitCreated for you as Permits Menu. Do not remove it; the record number and portal views depend on it.
Permit to Review TasksMany tasks per permitUsually created by automations at each status gate. See Automation Builder for permits.
Permit to InspectionsMany inspections per permitLets staff and applicants see every inspection on the permit.
Permit to Professional LicensesOne or manyThe licensed professional responsible for the work. See Licensed professionals.
Parent permit to child permitsOne parent, many childrenFor example a building permit with related trade permits.

Steps

1

Add the association field

Open the permit entity, choose Configure, click Add Field on the section where the link belongs, and pick Association. In Associated Fields, choose the related entity.

2

Choose single or multiple

Turn on Allow linking to multiple records when a permit can have more than one (contacts, inspections, review tasks). Leave it off for a single link such as a parent permit.

3

Make the link two-way

Turn on Two Way Binding ("Enable two-way binding between entities") so the related record shows the permit too. GovAssist keeps both sides in sync for you.

4

Mark the applicant

On a contacts association, turn on Applicant ("Mark this contact field as the applicant"). Only one field per entity can be the applicant; GovAssist warns you with Applicant already set if another field already has it.

5

Limit which records can be picked

Under Association Filters, click the settings button to "define conditions to filter which records appear in the dropdown", for example only active licenses.

6

Set how it appears on forms

On the form, select the field and set Layout Type to Pills (one field shown per linked record) or Cards (several fields), and pick the Fields to show. Turn on Allow Creation Of Record to let users add a new related record from the form.

Portal options for contact and license links

These settings are on the form field, not the entity field:

SettingUse it when
Auto-fill with Logged-in ContactThe applicant's own contact should fill the field automatically in the citizen portal.
Allow User ChangeThe applicant may replace the auto-filled contact.
Auto-fill with Logged-in UserA staff user should fill the field automatically (for example the inspector on an inspection result form).
Enable filtering by License ProfessionalThe picker should list only records tied to the signed-in user's licensed professional.

Example

An Electrical Permit entity:

Field labelRelated entityMultipleTwo Way BindingOther settings
ContactsContactsOnOnApplicant on
Licensed ProfessionalProfessional LicensesOffOnAssociation Filters: status is active
InspectionsInspectionsOnOn
Parent PermitBuilding PermitOffOn

Common mistakes

  • Creating the reverse link by hand on the other entity as well as turning on Two Way Binding. Use one two-way field.
  • Deleting the system Permits Menu or Contacts association. Record numbers, portal views, and applicant access rely on them.
  • Expecting entity settings to control the form. Layout, auto-fill, and record creation are set per form field.
  • Creating many child records at once and not checking the parent afterward. After a test that creates several children together, open the parent and confirm all its links are still there.

Related guides