APIs & Integrations

davidoff2drew
Contributor | Elite Partner
Contributor | Elite Partner

Custom Objects: How to declare the Hubspot Owner property in the create script?

SOLVE

We want to use hubspot owner as a secondary display property for a custom object. It's a pain to run the creation script, create the property within the portal, and run the schema update script to have the Owner property be a display property. Or run the creation script with the Owner property white-labeled and but listed as a display property, and then editing it within the HS portal.

Is there a more streamlined way to do this within the creation script?

0 Upvotes
1 Accepted solution
lynton
Solution
Contributor | Elite Partner
Contributor | Elite Partner

Custom Objects: How to declare the Hubspot Owner property in the create script?

SOLVE

You could try creating the new property as part of the "create object" POST, and reference that property as a secondary display property, all in the same payload. 

 

To save yourself the extra API work, you can also check out our free custom objects app in the HubSpot marketplace. I'd love your feedback and a positive review on the marketplace listing if it saves you time managing custom objects.

View solution in original post

1 Reply 1
lynton
Solution
Contributor | Elite Partner
Contributor | Elite Partner

Custom Objects: How to declare the Hubspot Owner property in the create script?

SOLVE

You could try creating the new property as part of the "create object" POST, and reference that property as a secondary display property, all in the same payload. 

 

To save yourself the extra API work, you can also check out our free custom objects app in the HubSpot marketplace. I'd love your feedback and a positive review on the marketplace listing if it saves you time managing custom objects.