pm Parameter

The pm parameter is the settings for the Property Mapping. This includes, but is not limited to the following parameters:

Parameter
Description

isReadOnly

Whether the user can edit the data on-screen

primaryAccessor

The field mapped to in the primary source

secondaryAccessor

The field mapped to in the destination (secondary) source

renderingType

The property mapping object

etc

Example

To access the Property Mapping's isReadOnly parameter in a script, use

if (pm.isReadOnly)
{
  // do something
}

For more in-depth detail, refer to Property Mappings.

If you require more information, please reach out to us on the support channel.

Last updated