APIs & Integrations

rprconnect
Participant

How to create predefined Enumerated Deal property value?

Résolue

Hello, 

 

I have a Deal property field which lists all vendor names. 

 

Field Name: Vendor Name

Field Values: Vendor 1, Vendor 2, Vendor 3 etc., 

 

I source all vendor names using a webform. Upon each registration, I would like to add the vendor name automatically to the predefined list of the mentioned field. 

 

P.S: Intention is to automate below: 

https://knowledge.hubspot.com/crm-setup/manage-enumeration-property-optionsI would like to avoid adding this manual step of "Add Option" each time a vendor registers form and automate it. 

Appreciate your help. 

 

How can I achieve this? 

0 Votes
1 Solution acceptée
Phil_Vallender
Solution
Membre irremplaçable | Partenaire solutions Diamond
Membre irremplaçable | Partenaire solutions Diamond

How to create predefined Enumerated Deal property value?

Résolue

Hi @rprconnect 

 

To do this we would need to write and API script (and run it somewhere) that takes any new vendor name submitted by form and appends it to the options already in the vendor list. 


Based on a quick read of the API documentation I suspect it might be necessary to pass the whole list each time - 'no way to append or remove a single value' - and we would need to test this to ensure it does not impact existing data - I assume it will not. 

 

DM me if you need someone to build this for you.

 

Hope this helps.

Phil Vallender | HubSpot Website Agency

Voir la solution dans l'envoi d'origine

1 Réponse
Phil_Vallender
Solution
Membre irremplaçable | Partenaire solutions Diamond
Membre irremplaçable | Partenaire solutions Diamond

How to create predefined Enumerated Deal property value?

Résolue

Hi @rprconnect 

 

To do this we would need to write and API script (and run it somewhere) that takes any new vendor name submitted by form and appends it to the options already in the vendor list. 


Based on a quick read of the API documentation I suspect it might be necessary to pass the whole list each time - 'no way to append or remove a single value' - and we would need to test this to ensure it does not impact existing data - I assume it will not. 

 

DM me if you need someone to build this for you.

 

Hope this helps.

Phil Vallender | HubSpot Website Agency