# Export a single property's sub-values (e.g. dropdowns, checkboxes)

**URL:** <https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647>\
**Category:** HubSpot Ideas\
**Tags:** account-settings\
**Created:** [August 26, 2020, 11:29am UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647 "2020-08-26T11:29:33Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![JasonAGT](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@JasonAGT](https://community.hubspot.com/u/JasonAGT)\
**Post date:** [July 28, 2023, 8:09pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/41 "2023-07-28T20:09:15Z")

</div>

Hi all, I saw this thread working on a similar problem. The solution was to make a new field (for multiple checkboxes) and import values from my original text field. Key is to use the export feature to manage data in excel externally, then reimport. Here are the basic steps:

1. Export the data you want to change with the original (text) field, you will use this to create the list options. Best to create a hubspot list first and export from there with only the columns you want
2. Open the exported spreadsheet In excel or another spreadsheet editor,. Create a list of unique values from the original field with an advanced filter or other technique (google it if you need to)
3. Create a new field with dropdown or checkboxes in HubSpot, copy this unique values list from excel into the new field options
4. Create a list in hubspot with your companies or contacts, an ID column (company domain name or contact name), old file, new (blank) field
5. Export list to excel
6. In excel, copy the old field values to the new field
7. Save the file and import back into hubspot. Clean up errrors as you go, the error checking functionality of HubSpot is awesome! You have to manipulate and re-save the spredhseet you are updating from. I had to delete the ID field that appeared. Add values to existing companies, only overwrite the new field JIC.

This takes a bit to learn, but it is very powerful. Thanks hubspot!

---

<div class="post-metadata">

**Author:** ![PBonino](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PBonino](https://community.hubspot.com/u/PBonino)\
**Post date:** [October 3, 2023, 8:16am UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/42 "2023-10-03T08:16:43Z")

</div>

I would need it to.

---

<div class="post-metadata">

**Author:** ![RRogers](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@RRogers](https://community.hubspot.com/u/RRogers)\
**Post date:** [October 25, 2023, 7:17pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/43 "2023-10-25T19:17:27Z")

</div>

Can we get an update on this?

---

<div class="post-metadata">

**Author:** ![chrisnault](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrisnault/32/57154_2.png) [@chrisnault](https://community.hubspot.com/u/chrisnault)\
**Post date:** [October 26, 2023, 10:24pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/44 "2023-10-26T22:24:37Z")

</div>

**YES!**

---

<div class="post-metadata">

**Author:** ![JDAgostino](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@JDAgostino](https://community.hubspot.com/u/JDAgostino)\
**Post date:** [October 27, 2023, 3:02pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/45 "2023-10-27T15:02:30Z")

</div>

This would be great

---

<div class="post-metadata">

**Author:** ![SWilliams77](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@SWilliams77](https://community.hubspot.com/u/SWilliams77)\
**Post date:** [November 13, 2023, 6:56pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/46 "2023-11-13T18:56:22Z")

</div>

Salesforce has this as a print view which is easily assessible. It’s 2023, almost 2024 Hubspot. Please make this happen asap.

---

<div class="post-metadata">

**Author:** ![AAppleton6](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@AAppleton6](https://community.hubspot.com/u/AAppleton6)\
**Post date:** [November 21, 2023, 2:14pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/47 "2023-11-21T14:14:50Z")

</div>

It would be great to have an easier way to achieve this than doing an API call. A solution where we can click a “Export Property Label” button would be ideal.

---

<div class="post-metadata">

**Author:** ![BBarany](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BBarany](https://community.hubspot.com/u/BBarany)\
**Post date:** [November 22, 2023, 9:20am UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/48 "2023-11-22T09:20:29Z")

</div>

Absurd that this has been on since 2020, with a comment almost from every week asking for it, yet no reply. This seems to be a basic function, being able to export property selection lists, I am surprised that it is not even picked up by Hubspot Developers.

---

<div class="post-metadata">

**Author:** ![DC1984](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@DC1984](https://community.hubspot.com/u/DC1984)\
**Post date:** [December 4, 2023, 2:54pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/49 "2023-12-04T14:54:38Z")

</div>

Hello everyone, I too have faced the challenge of obtaining the list of subvalues. I’ve developed a fast and scalable method that makes it accessible for virtually anyone to use without much difficulty. I’m pleased to share it with you.

Here’s the procedure to use the Google Apps Script to retrieve subvalues of a property from HubSpot’s API and write them to a specific sheet named “Script” in Google Sheets:

1. **Open Google Sheets** :

2. **Access Google Apps Script Editor** :

3. **Paste the Script** :

4. **Update API Token** :

5. **Save the Script** :

6. **Run the Script** :

7. **Check the “Script” Sheet** :

8. **Debugging (if needed)**:

9. **Automate the Script (Optional)**:

This procedure allows you to interact with HubSpot’s API directly from Google Sheets, automating the data retrieval and making it accessible for further analysis or reporting within your spreadsheet.  
Here’s the complete Google Apps Script code with comments to retrieve subvalues of a “property\_name” property from a ‘products’ object in HubSpot’s API and write them to a sheet named “Script” in Google Sheets:

_// Function to retrieve subvalues of a specified property from HubSpot API_

_function getHubSpotPropertySubValues() {_

_// Define the object type and property name_

_var objectType = ‘products’; // The object type (e.g., ‘contacts’, ‘deals’, ‘products’, etc.)_

_var propertyName = ‘property\_name’; // The name of the property_

_// Your HubSpot API token_

_var token = ‘YOUR\_HUBSPOT\_API\_TOKEN’; // Replace with your actual HubSpot API token [Authentication overview - HubSpot docs](https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key)_

_// Construct the URL for the HubSpot API request_

_var url = ‘[https://api.hubapi.com/crm/v3/properties/](https://api.hubapi.com/crm/v3/properties/)’ + objectType + ‘/’ + propertyName;_

_// Set up the headers for the API request, including the authorization token_

_var headers = {_

_‘Authorization’: 'Bearer ’ + token,_

_‘Content-Type’: ‘application/json’_

_};_

_// Define the options for the API request_

_var options = {_

_‘method’ : ‘get’,_

_‘headers’ : headers,_

_};_

_try {_

_// Make the API request_

_var response = UrlFetchApp.fetch(url, options);_

_var json = response.getContentText();_

_var data = JSON.parse(json);_

_// Get or create the ‘Script’ sheet in the current spreadsheet_

_var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();_

_var sheet = spreadsheet.getSheetByName(“Script”);_

_// If the ‘Script’ sheet does not exist, create it_

_if (!sheet) {_

_sheet = spreadsheet.insertSheet(“Script”);_

_}_

_// Check if the property data has options (subvalues) and write them to the sheet_

_if (data && data.options) {_

_sheet.clear(); // Clear the sheet before writing new data_

_// Loop through each option and write its label and value to the sheet_

_data.options.forEach(function(option) {_

_sheet.appendRow([option.label, option.value]);_

_});_

_} else {_

_Logger.log(“No subvalues found for the specified property.”);_

_}_

_} catch (error) {_

_// Log any errors encountered during the API request_

_Logger.log("Error when querying HubSpot API: " + error.toString());_

_}_

_}_

To use this script, you need to replace ‘YOUR\_HUBSPOT\_API\_TOKEN’ with your actual HubSpot API token. The script will create a new sheet named “Script” if it doesn’t exist and write the subvalues of the specified property into this sheet. Remember that the specific structure of the data may vary depending on the property you are querying, so you might need to adjust the script accordingly.

If you need any help or professional consultation, please feel free to contact me.

---

<div class="post-metadata">

**Author:** ![KPalmer1](https://avatars.discourse-cdn.com/v4/letter/k/d78d45/32.png) [@KPalmer1](https://community.hubspot.com/u/KPalmer1)\
**Post date:** [December 6, 2023, 7:12pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/50 "2023-12-06T19:12:24Z")

</div>

This seems like fairly basic functionality. Come on HubSpot, let’s make this happen!

---

<div class="post-metadata">

**Author:** ![emcconnell](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@emcconnell](https://community.hubspot.com/u/emcconnell)\
**Post date:** [February 23, 2024, 3:43pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/51 "2024-02-23T15:43:54Z")

</div>

Hi Hubspot, I’m hoping to flag this issue again. It might not feel like a priority for your product team, but it doesn’t appear to be too complex, even if you just give us the option after clicking “export all properties” to select the properties we want to export (similar to how you determine which columns you want to export when exporting lists) this would be great!

Thank you!

Emily

---

<div class="post-metadata">

**Author:** ![PHerreroMKT](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pherreromkt/32/647_2.png) [@PHerreroMKT](https://community.hubspot.com/u/PHerreroMKT)\
**Post date:** [February 28, 2024, 12:49pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/52 "2024-02-28T12:49:06Z")

</div>

Absolutely, it streamlines data collection and analysis by eliminating manual copying, saving time and reducing errors.

---

<div class="post-metadata">

**Author:** ![RRiebman](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@RRiebman](https://community.hubspot.com/u/RRiebman)\
**Post date:** [March 1, 2024, 4:18pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/53 "2024-03-01T16:18:09Z")

</div>

We also desparately need this to be able to update dropdowns.

---

<div class="post-metadata">

**Author:** ![Emily6](https://avatars.discourse-cdn.com/v4/letter/e/54ee81/32.png) [@Emily6](https://community.hubspot.com/u/Emily6)\
**Post date:** [March 25, 2024, 2:31pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/54 "2024-03-25T14:31:10Z")

</div>

Any idea when is this going to be developed? 🤔

---

<div class="post-metadata">

**Author:** ![Vikhine](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@Vikhine](https://community.hubspot.com/u/Vikhine)\
**Post date:** [April 1, 2024, 12:32am UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/55 "2024-04-01T00:32:49Z")

</div>

having just exported the full PROPERTIES list just to be able to see contents of a drop down menu and to discover it is no where near a neat list, would definitely want a better feature

---

<div class="post-metadata">

**Author:** ![oliwawa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/oliwawa/32/61916_2.png) [@oliwawa](https://community.hubspot.com/u/oliwawa)\
**Post date:** [April 4, 2024, 2:53pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/56 "2024-04-04T14:53:49Z")

</div>

Does anyone know how to retrieve the internal value for the hubspot\_owner\_id? Since the UserId and the internal value in the property hubspot\_owner\_id aren’t the same values. I tried to request to /crm/v3/properties/contacts/hubspot\_owner\_id but it didn’t work.

---

<div class="post-metadata">

**Author:** ![conormontgomery](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@conormontgomery](https://community.hubspot.com/u/conormontgomery)\
**Post date:** [April 9, 2024, 1:29am UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/57 "2024-04-09T01:29:35Z")

</div>

A HubSpot support rep shared [this article](https://community.hubspot.com/t5/CRM/Retrieving-All-Picklist-Property-Options/m-p/613972#M133083) as one way to bulk-copy values. It works, but ofcourse this is far from ideal or a good user experience.  
That work-around also does not provide any way to bulk-_edit_ any values.

This lack of basic functionality is not sufficient for a CRM that wants to make a legitimate challenge to become the #1 CRM.

---

<div class="post-metadata">

**Author:** ![Dimos](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dimos/32/8943_2.png) [@Dimos](https://community.hubspot.com/u/Dimos)\
**Post date:** [April 16, 2024, 6:28am UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/58 "2024-04-16T06:28:44Z")

</div>

We need this

---

<div class="post-metadata">

**Author:** ![SConley](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@SConley](https://community.hubspot.com/u/SConley)\
**Post date:** [April 23, 2024, 7:17pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/59 "2024-04-23T19:17:56Z")

</div>

Please add this funtionality it is much needed!!

---

<div class="post-metadata">

**Author:** ![MWilliams52](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MWilliams52](https://community.hubspot.com/u/MWilliams52)\
**Post date:** [April 30, 2024, 3:13pm UTC](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647/60 "2024-04-30T15:13:01Z")

</div>

We’ve completed an internal assessment of properties, and one requirement was to view the options in dropdowns/checkboxes. Unfortunately, the only method available was to manually extract the values. It would be beneficial to have the option to export these values instead.

Additionally, do you require a specific category for the concept of “properties”? I’m having difficulty determining the most suitable category for this idea.

[Previous page](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647.md?page=2)

[Next page](https://community.hubspot.com/t/export-a-single-propertys-sub-values-e-g-dropdowns-checkboxes/24647.md?page=4)
