OrganizationFields
Returns data about all organization fields.
Select
The add-in uses the Pipedrive API to apply WHERE clause conditions with the supported columns and operators listed below. It processes all other filters client-side within the add-in.
- Id supports the '=' operator.
For example, the following query is processed server-side:
SELECT * FROM OrganizationFields WHERE Id = 2
INSERT
To insert data, specify values for the Name and FieldType columns. You can include additional, optional columns as needed.
For example:
INSERT INTO OrganizationFields (Name, FieldType) VALUES ('Terex', 'text')
UPDATE
To update a record, include the Id in the WHERE clause and set new values for any editable (non-read-only) columns.
For example:
UPDATE OrganizationFields SET Name = 'Terry' WHERE Id = 2
DELETE
To delete a record, specify the Id in the WHERE clause.
For example:
DELETE FROM OrganizationFields WHERE Id = 2
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Integer | True |
ID of the field. | |
| ActiveFlag | Boolean | True |
ActiveFlag. | |
| AddTime | Datetime | True |
AddTime. | |
| AddVisibleFlag | Boolean | False |
Whether the field is available in 'add new' modal or not. The default value is true. | |
| BulkEditAllowed | Boolean | True |
BulkEditAllowed. | |
| DetailsVisibleFlag | Boolean | True |
DetailsVisibleFlag. | |
| EditFlag | Boolean | True |
EditFlag. | |
| FieldType | String | False |
Type of the field. The allowed values are address, date, daterange, double, enum, monetary, org, people, phone, set, text, time, timerange, user, varchar, varchar_auto, visible_to. | |
| FilteringAllowed | Boolean | True |
FilteringAllowed. | |
| ImportantFlag | Boolean | True |
ImportantFlag. | |
| IndexVisibleFlag | Boolean | True |
IndexVisibleFlag. | |
| Key | String | True |
Key. | |
| LastUpdatedByUserId | String | True |
LastUpdatedByUserId. | |
| MandatoryFlag | Boolean | True |
MandatoryFlag. | |
| Name | String | False |
Name of the field. | |
| Options | String | False |
Options. | |
| OrderNr | Integer | True |
OrderNr. | |
| SearchableFlag | Boolean | True |
SearchableFlag. | |
| SortableFlag | Boolean | True |
SortableFlag. | |
| UpdateTime | Datetime | True |
UpdateTime. |