Removing a property from many assets

Hey there,

I am currently carrying out some TLC on our platform and wish to edit properties from single-line text to dropdown select.

However I am unable to do this as this property is used in 60 assets.

Is there a way for me to remove this property from these assets without having to manually do so? This would save me A LOT of time.

Thanks in advance!

Hey @OAubad thank you for posting in our Community!

Have you tried our workflow automation? One approach you can take is to use the HubSpot API along with scripting tools like Python or JavaScript. With the HubSpot API, you can programmatically access and update properties for contacts, companies, deals, and other assets in bulk. By writing a script to interact with the API, you can efficiently change the property type from single-line text to dropdown select across all relevant assets.

To our top experts @danmoyle, @Jigar_Thakker, and @TomM2 any recommendations for @OAubad matter?

Thank you,

Pam

Hi @OAubad,

From experience (as someone who’s done this more times than he can count), the fastest way will be for you to do this manually. In the HubSpot user interface, there aren’t any options to bulk edit or bulk remove properties from assets where they’re being referenced.

When you open your property in the property settings, you can get a full list of assets where it’s being used:

While it feels wrong, just opening and editing these assets will get you to your desired state in the fastest possible way.

The moment we’re talking about hundreds of assets, exploring the HubSpot API, as @PamCotton, becomes a different story, I would say. Below that, writing a script will take a lot longer than the 20-30 minutes of manual work.

Let me know if you have any follow-up questions!

+1 for the solve from @karstenkoehler here. I’ve had the same experience, and found that it’s best to do it manually as well.

Hello @karstenkoehler
I have custom property that is associated with many things, For contacts, I can do bulk edit and deassociate all contacts and crm objects at once either by UI or by APIs. Now, the issue I am facing is from other usages, Forms, reports, workflows, Views. there are many occurrences found for the custom property. I wanr ro delete that property and disassociate it from all the usages so I can safely delete it. How can I do it, I read the whole hubspot documentation, it isn’t providing property occurrence check api and removal of property from all usage apis. Tell me any workaround if we have or should I manually proceed on the usages part?