Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • id: primary key (GUID) of the item

  • name: the value which should be displayed in Name column of the grid

  • fieldValues: array of additional field (string) values to be displayed

addRow(id, name, type, fieldValues, iconPath)

Adds a new item to search results. Can be used to add extra content to the grid on top of OoB logic.

  • id: primary key (GUID) of the item to be added

  • name: the value which should be displayed in Name column of the grid

  • type: logical name of item (account or contact)

  • fieldValues: array of additional field (string) values to be displayed

  • iconPath: must be null when adding contacts or accounts. It is reserved for future use, to be able to list other entity types as well. Atm. only accounts and contacts are supported.

The number of columns given to setColumnHeaders and length of fieldValues array on addRow and setRowData functions have to be identical. Within the plugin all the features of The API throws an error if the number of columns don’t match.

All the features of Microsoft CIF API can be used within the plugin, e.g. to retrieve any record and supply the retrieved data to setRowData function.

...