# Import fields' values

**URL:** <https://community.hubspot.com/t/import-fields-values/17353>\
**Category:** APIs & Integrations\
**Tags:** cms-content, developer-tools\
**Created:** [November 22, 2019, 10:13am UTC](https://community.hubspot.com/t/import-fields-values/17353 "2019-11-22T10:13:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainism](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rainism/32/88643_2.png) [@rainism](https://community.hubspot.com/u/rainism)\
**Post date:** [November 22, 2019, 10:13am UTC](https://community.hubspot.com/t/import-fields-values/17353/1 "2019-11-22T10:13:20Z")

</div>

Hello.  
I would like to know if there is any way to import values into the fields that I use in custom modules for my landing page

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 22, 2019, 8:23pm UTC](https://community.hubspot.com/t/import-fields-values/17353/2 "2019-11-22T20:23:06Z")

</div>

Welcome, @rainism.

Happy to help.

Could you clarify the type of “field” you are using?

If you are storing values in [custom contact properties](https://knowledge.hubspot.com/contacts/manage-your-properties#create-custom-properties) and using [HubL](http://{{%20contact }}) “personalization” tokens to render their values in your custom modules (e.g. `{{ contact.firstname }}`), you can absolutely set and update values via [import](https://knowledge.hubspot.com/contacts/import-objects).

---

<div class="post-metadata">

**Author:** ![rainism](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rainism/32/88643_2.png) [@rainism](https://community.hubspot.com/u/rainism)\
**Post date:** [November 25, 2019, 12:41pm UTC](https://community.hubspot.com/t/import-fields-values/17353/3 "2019-11-25T12:41:48Z")

</div>

I’m mostly using image and text fields, and I guess I can’t really create an image field via Properties.

I think I could use fields for Product but I have a question.

I’m gonna use my custom module in another pages as well, so I guess if I change values of the fields via import, it will update the values for all the pages. Is there any workaround?  
I’d probably make another custom module but there gonna be a lot of pages so I don’t want to update the values manually.

---

<div class="post-metadata">

**Author:** ![rainism](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rainism/32/88643_2.png) [@rainism](https://community.hubspot.com/u/rainism)\
**Post date:** [November 25, 2019, 12:45pm UTC](https://community.hubspot.com/t/import-fields-values/17353/4 "2019-11-25T12:45:42Z")

</div>

No, just realized there’s no image field for Product

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 25, 2019, 7:09pm UTC](https://community.hubspot.com/t/import-fields-values/17353/5 "2019-11-25T19:09:07Z")

</div>

Hi, @rainism.

While there are no “image” fields, most users upload an image link to a single-line text field and then place the token in an `img` tag’s `src` attribute. For example:

`<img src="{{ contact.image_1 }}" alt="Image 1" height="50" width="50"> `

The above approach only works with custom _contact_ properties, however. It will not work for custom product properties.

If you need to display product images and descriptions, you might want to consider [HubDB](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables) (keep in mind this requires the [HubSpot CMS](https://legal.hubspot.com/hubspot-product-and-services-catalog?).) Check out the technical documentation [here](https://designers.hubspot.com/docs/tools/hubdb?_ga=2.29091135.2007497035.1574686591-445953835.1537273604).

---

<div class="post-metadata">

**Author:** ![rainism](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rainism/32/88643_2.png) [@rainism](https://community.hubspot.com/u/rainism)\
**Post date:** [December 3, 2019, 7:26am UTC](https://community.hubspot.com/t/import-fields-values/17353/6 "2019-12-03T07:26:31Z")

</div>

Is it possible to show products’ fields in the custom module? Like {{product.field1}}?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [December 3, 2019, 3:10pm UTC](https://community.hubspot.com/t/import-fields-values/17353/7 "2019-12-03T15:10:48Z")

</div>

Hi, @rainism.

Unlike contact properties, it is not possible to reference product property values on a web page with [HubL variables](https://designers.hubspot.com/docs/hubl/hubl-supported-variables).

If a website visitor’s identity is associated with a known contact record, HubL can retrieve the corresponding property values. Products, however, cannot be associated with visitor identities or contact records (only deals via [line items](https://developers.hubspot.com/docs/methods/line-items/line-items-overview)), and cannot be referenced on their own.

You could store product information in custom contact properties and use HubL variables to surface this data, but every visitor identity would need to be associated with a contact with a known value in order to see it. At that point, hard coding may be a better option.

Finally, I want to mention [HubDB](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables) again, which is by far the best tool if you wish to curate a listing of products in one place and have the data populate across your website. Check out the technical documentation [here](https://designers.hubspot.com/docs/tools/hubdb?_ga=2.29091135.2007497035.1574686591-445953835.1537273604).
