views/project/contact

Project Contact Component Add a contact field to the project on create to set the Primary Contact.

Members

hidden

Type

Description

Boolean

This view is to be shown or hidden

Default

            {
  "hidden": false
} 

          

label

Type

Description

String

Select label

Default

            {
  "label": "Contact"
} 

          

name

Type

Description

String

Unique name of the custom page Select field.

Default

            {
  "name": "custpage_nx_contact"
} 

          

options

Type

Description

Resolvable template for the select options for the current project.

Default

            {
  "options": {
    "array": true,
    "contacts": {
      "record": "customer",
      "filters": [
        "internalid",
        "is",
        "${ project.customer }"
      ],
      "map": {
        "id": "contact.internalid",
        "label": "<contact.entityid",
        "selected": "formulatext:case when {‌contact.role} = -10 then 'T' else '' end"
      }
    }
  }
} 

          

General Notices