Skip to main content
Version: Release 1 - 1.1.3.X

Add a map to a form

Form maps keep location context next to the record a user is editing. They are ideal for Accounts, Contacts, Work Orders, or any custom table where users need to inspect a single location while updating data.

Prerequisites

  • A Shapes text column on the table that will host the map control.
  • The MaptaskrPowerMapPCF control deployed in your environment.
  • A published configuration profile in the Maptaskr Config Manager.
note

The walkthrough uses the Account main form as an example. Repeat the same steps on whichever table and form your scenario requires.

Add the map control to the form

  1. Go to make.powerapps.com.

  2. Open the form where the map control should appear.

  3. Select ComponentsMore components.

  4. Check whether Maptaskr components already exist:

    • If not, choose Get more components.
  5. Search for MaptaskrPowerMapPCF and add it.

    Adding a new component

  6. Select the newly added component.

  7. Configure the map settings:

FieldDescription
Table ColumnThe column where shapes are stored. Create a text field named [Table Name] Shapes, add it to any table that needs a map, and bind the PCF control to it.
Profile IDCopy the ID from your configuration profile (top-right of the Config Manager).
ParametersUse to send provider-specific filters (optional).
Design Width & HeightOverride default sizing with CSS values when needed.
  1. Hide the field label to keep the form tidy.

    Inset Map PCF Control

  2. Save and publish the form so makers and end users can see the map.

Next steps

  • Add business rules or form scripts to automatically write shapes based on address fields.
  • Duplicate the configuration for other tables that need map context.