APIs & Integrations

JZhao
Participant

Customer object doesn't show in top drop down list

SOLVE

I have created a customer object via the api "https://api.hubapi.com/crm/v3/schemas".

Below is the payload I sent through. 

 

{
"name": "devices",
"labels": {
"singular": "Device",
"plural": "Devices"
},
"primaryDisplayProperty": "name",
"properties": [
{
"name": "name",
"label": "Name",
"type": "string",
"fieldType": "text"
},
{
"name": "model",
"label": "Model",
"type": "string",
"fieldType": "text"
},
{
"name": "serial",
"label": "Serial",
"type": "string",
"fieldType": "text"
}
]
}
 
I am able to receive the response:
 
{
"labels": {
"singular": "Device",
"plural": "Devices"
},
"requiredProperties": [
"name"
],
"searchableProperties": [
"name"
],
"primaryDisplayProperty": "name",
"secondaryDisplayProperties": [],
"archived": false,
"restorable": true,
"metaType": "PORTAL_SPECIFIC",
"id": "1435617",
"fullyQualifiedName": "p8013920_devices",
"createdAt": "2021-02-23T06:43:12.064Z",
"updatedAt": "2021-02-23T06:43:12.064Z",
"objectTypeId": "2-1435617",
"properties": [
{
"updatedAt": "2021-02-23T06:43:12.219Z",
"createdAt": "2021-02-23T06:43:12.219Z",
"name": "serial",
"label": "Serial",
"type": "string",
"fieldType": "text",
"description": "",
"groupName": "devices_information",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"archived": false,
"hasUniqueValue": false,
"hidden": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2021-02-23T06:43:12.205Z",
"createdAt": "2021-02-23T06:43:12.205Z",
"name": "model",
"label": "Model",
"type": "string",
"fieldType": "text",
"description": "",
"groupName": "devices_information",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"archived": false,
"hasUniqueValue": false,
"hidden": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2021-02-23T06:43:12.219Z",
"createdAt": "2021-02-23T06:43:12.219Z",
"name": "name",
"label": "Name",
"type": "string",
"fieldType": "text",
"description": "",
"groupName": "devices_information",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"archived": false,
"hasUniqueValue": false,
"hidden": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
},
"formField": true
}
],
"associations": [
{
"fromObjectTypeId": "0-51",
"toObjectTypeId": "2-1435617",
"name": "device_to_conversation_session",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "18",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-1435617",
"toObjectTypeId": "0-51",
"name": "device_to_conversation_session",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "17",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-1435617",
"toObjectTypeId": "0-47",
"name": "device_to_meeting_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "19",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-47",
"toObjectTypeId": "2-1435617",
"name": "device_to_meeting_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "20",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-27",
"toObjectTypeId": "2-1435617",
"name": "device_to_task",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "22",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-1435617",
"toObjectTypeId": "0-27",
"name": "device_to_task",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "21",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-1435617",
"toObjectTypeId": "0-49",
"name": "device_to_email",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "23",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-49",
"toObjectTypeId": "2-1435617",
"name": "device_to_email",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "24",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-1435617",
"toObjectTypeId": "0-48",
"name": "device_to_call",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "25",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-48",
"toObjectTypeId": "2-1435617",
"name": "device_to_call",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "26",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-46",
"toObjectTypeId": "2-1435617",
"name": "device_to_note",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "28",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-1435617",
"toObjectTypeId": "0-46",
"name": "device_to_note",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "27",
"createdAt": null,
"updatedAt": null
}
],
"name": "devices"
}
 
Everything looks good for me but I can't see the object is created in the dashboard. I am using API Key to authenticate the request and use the same account to login to the dashboard. But why can't I see the newly created object?
0 Upvotes
1 Accepted solution
RMones
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

Customer object doesn't show in top drop down list

SOLVE

Hi @JZhao ,

 

As described by @Phil_Vallender use the down arrow near Contacts. The custom objects are not added to the dropdown at the menu bar.

 

Regards,

 

Ronald

View solution in original post

2 Replies 2
RMones
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

Customer object doesn't show in top drop down list

SOLVE

Hi @JZhao ,

 

As described by @Phil_Vallender use the down arrow near Contacts. The custom objects are not added to the dropdown at the menu bar.

 

Regards,

 

Ronald

Phil_Vallender
Most Valuable Member | Diamond Partner
Most Valuable Member | Diamond Partner

Customer object doesn't show in top drop down list

SOLVE

Hi @JZhao 

 

If created successfully, your custom object should appear in the green circled drop down, not the red one. Does it?

 

Contacts.png

Phil Vallender | HubSpot Website Agency