Mapping Field Service Mobile Elements to NetSuite Fields

In the article section of the mobile tab configuration, use the following structure to map mobile elements to NetSuite fields. Most element types use this structure, except as noted in the following table.

          "article": {
  "map": {
    "elementid1": "fieldid1"
  }
} 

        

The following element types use different mapping structures:

Mobile Element Types

Mapping Example

select

                    "article": {
  "map": {
    "elementid1": {
      "id": "=fieldid1",
      "label": "#fieldid1|"
    }
  }
} 

                  

multiselect

                    "article": {
  "map": {
    "elementid1": {
      "id": "=fieldid1[]",
      "label": "#fieldid1[]|"
    }
  }
} 

                  

HTML

                    "article": {
  "map": {
    "elementid1": "fieldid1|"
  }
} 

                  

image, file, and document

                    "article": {
  "map": {
    "elementid1": {
      "id": "=fieldid1",
      "url": "formulatext:'${ url }file/'||{fieldid1.id}||'&key=${ user.key }'"
    }
  }
} 

                  

datalist

                    "article": {
  "map": {
    "elementid1": "fieldid1|"
  }
} 

                  

table

Note:

For a table element, nest each child-element mapping within the mapping for the table element.

                    "article": {
  "map": {
    "elementid1": [{
      "subelementid1": "colfieldid1|sublistid.colfieldid1",
      "subelementid2": "colfieldid2|sublistid.colfieldid2"
    }]
  }
} 

                  

Related Topics

General Notices