> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.salesforce.crm.GetObjectFields

- Component: `appmixer.salesforce.crm.GetObjectFields`
- Kind: Action
- Version: 1.1.2
- Visibility: Public
- Connector: [appmixer.salesforce 1.7.7](https://connectors.appmixer.com/connector/appmixer.salesforce/1.7.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.salesforce/1.7.7/component/appmixer.salesforce.crm.GetObjectFields>

Get Object fields.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Object Name (`objectName`) | select | The name of the object. For example, Account. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Fields (`fields`) | array | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.salesforce.crm.GetObjectFields",
  "author": "Vladimir Talas <lades@client.io>",
  "icon": "(data URI omitted)",
  "description": "Get Object fields.",
  "auth": {
    "service": "appmixer:salesforce"
  },
  "quota": {
    "manager": "appmixer:salesforce",
    "resources": "requests"
  },
  "version": "1.1.2",
  "dependencies": {
    "service": "1.1.2"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "objectName": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "objectName": {
            "type": "select",
            "label": "Object Name",
            "index": 1,
            "tooltip": "The name of the object. For example, Account.",
            "source": {
              "url": "/component/appmixer/salesforce/crm/ListObjects?outPort=out",
              "data": {
                "transform": "./transformers#toSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Fields",
          "value": "fields",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "aggregatable": {
                  "type": "boolean",
                  "title": "Aggregatable"
                },
                "aiPredictionField": {
                  "type": "boolean",
                  "title": "Ai Prediction Field"
                },
                "autoNumber": {
                  "type": "boolean",
                  "title": "Auto Number"
                },
                "byteLength": {
                  "type": "number",
                  "title": "Byte Length"
                },
                "calculated": {
                  "type": "boolean",
                  "title": "Calculated"
                },
                "calculatedFormula": {
                  "type": "null",
                  "title": "Calculated Formula"
                },
                "cascadeDelete": {
                  "type": "boolean",
                  "title": "Cascade Delete"
                },
                "caseSensitive": {
                  "type": "boolean",
                  "title": "Case Sensitive"
                },
                "compoundFieldName": {
                  "type": "null",
                  "title": "Compound Field Name"
                },
                "controllerName": {
                  "type": "null",
                  "title": "Controller Name"
                },
                "createable": {
                  "type": "boolean",
                  "title": "Createable"
                },
                "custom": {
                  "type": "boolean",
                  "title": "Custom"
                },
                "defaultValue": {
                  "type": "null",
                  "title": "Default Value"
                },
                "defaultValueFormula": {
                  "type": "null",
                  "title": "Default Value Formula"
                },
                "defaultedOnCreate": {
                  "type": "boolean",
                  "title": "Defaulted On Create"
                },
                "dependentPicklist": {
                  "type": "boolean",
                  "title": "Dependent Picklist"
                },
                "deprecatedAndHidden": {
                  "type": "boolean",
                  "title": "Deprecated And Hidden"
                },
                "digits": {
                  "type": "number",
                  "title": "Digits"
                },
                "displayLocationInDecimal": {
                  "type": "boolean",
                  "title": "Display Location In Decimal"
                },
                "encrypted": {
                  "type": "boolean",
                  "title": "Encrypted"
                },
                "externalId": {
                  "type": "boolean",
                  "title": "External Id"
                },
                "extraTypeInfo": {
                  "type": "null",
                  "title": "Extra Type Info"
                },
                "filterable": {
                  "type": "boolean",
                  "title": "Filterable"
                },
                "filteredLookupInfo": {
                  "type": "null",
                  "title": "Filtered Lookup Info"
                },
                "formulaTreatNullNumberAsZero": {
                  "type": "boolean",
                  "title": "Formula Treat Null Number As Zero"
                },
                "groupable": {
                  "type": "boolean",
                  "title": "Groupable"
                },
                "highScaleNumber": {
                  "type": "boolean",
                  "title": "High Scale Number"
                },
                "htmlFormatted": {
                  "type": "boolean",
                  "title": "Html Formatted"
                },
                "idLookup": {
                  "type": "boolean",
                  "title": "Id Lookup"
                },
                "inlineHelpText": {
                  "type": "null",
                  "title": "Inline Help Text"
                },
                "label": {
                  "type": "string",
                  "title": "Label"
                },
                "length": {
                  "type": "number",
                  "title": "Length"
                },
                "mask": {
                  "type": "null",
                  "title": "Mask"
                },
                "maskType": {
                  "type": "null",
                  "title": "Mask Type"
                },
                "name": {
                  "type": "string",
                  "title": "Name"
                },
                "nameField": {
                  "type": "boolean",
                  "title": "Name Field"
                },
                "namePointing": {
                  "type": "boolean",
                  "title": "Name Pointing"
                },
                "nillable": {
                  "type": "boolean",
                  "title": "Nillable"
                },
                "permissionable": {
                  "type": "boolean",
                  "title": "Permissionable"
                },
                "picklistValues": {
                  "type": "array",
                  "items": {},
                  "title": "Picklist Values"
                },
                "polymorphicForeignKey": {
                  "type": "boolean",
                  "title": "Polymorphic Foreign Key"
                },
                "precision": {
                  "type": "number",
                  "title": "Precision"
                },
                "queryByDistance": {
                  "type": "boolean",
                  "title": "Query By Distance"
                },
                "referenceTargetField": {
                  "type": "null",
                  "title": "Reference Target Field"
                },
                "referenceTo": {
                  "type": "array",
                  "items": {},
                  "title": "Reference To"
                },
                "relationshipName": {
                  "type": "null",
                  "title": "Relationship Name"
                },
                "relationshipOrder": {
                  "type": "null",
                  "title": "Relationship Order"
                },
                "restrictedDelete": {
                  "type": "boolean",
                  "title": "Restricted Delete"
                },
                "restrictedPicklist": {
                  "type": "boolean",
                  "title": "Restricted Picklist"
                },
                "scale": {
                  "type": "number",
                  "title": "Scale"
                },
                "searchPrefilterable": {
                  "type": "boolean",
                  "title": "Search Prefilterable"
                },
                "soapType": {
                  "type": "string",
                  "title": "Soap Type"
                },
                "sortable": {
                  "type": "boolean",
                  "title": "Sortable"
                },
                "type": {
                  "type": "string",
                  "title": "Type"
                },
                "unique": {
                  "type": "boolean",
                  "title": "Unique"
                },
                "updateable": {
                  "type": "boolean",
                  "title": "Updateable"
                },
                "writeRequiresMasterRead": {
                  "type": "boolean",
                  "title": "Write Requires Master Read"
                }
              }
            },
            "example": [
              {
                "name": "Name",
                "label": "Full Name",
                "type": "string",
                "length": 255
              }
            ]
          }
        }
      ]
    }
  ]
}
```
