By mradcliffe on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-1.x
Introduced in version:
7.x-1.0-beta2
Issue links:
Description:
Xero API provides a Xero reference field store GUID, Label, and Xero data type for a particular record. This is meant for things like Bank Transactions, Contacts, etc...
This introduces the following concepts:
- Xero type:
- A menu wildcard argument that will load an associative array with information about the Xero type.
- Autocomplete: The autocomplete JSON has changed. The key is now an underscore-separated key/value pair where the key is the GUID and the value is the "label" or human-readable name for the data type (if it exists).
- Xero types are types as defined in the Xero API Reference:
- name: The key to use for Form API.
- title: The title to use for Form API.
- guid: The GUID key for a Xero type.
- label: The human-readable key for a Xero type. If empty, guid will be used.
- plural: The plural key for a Xero type.
- Xero autocomplete widget: An autocomplete widget for the Xero field type restricted to one Xero type.
- Xero textfield widget: A textfield widget for providing GUID, Label, and Xero Type directly. May be restricted to one or many Xero types. Read above about Type info.
- Xero reference formatter: Field display formatter that allows you to restrict what to display: GUID, Label, and/or Xero Type.
Impacts:
Site builders, administrators, editors
Module developers