We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Sep 1, 2022 7:54 AM
Hi All,
I have developed an app that has a CRM card and I want to pass a custom property that is created in app users account under Contact records. I defined the custom property under "PROPERTIES SENT FROM HUBSPOT" in CRM card definition but the its not being pass as a request parameter.
Is this possible to do ? Or is there any workroud to get this done ?
Solved! Go to Solution.
Sep 1, 2022 12:44 PM
Hi, @nuwang 👋 Thanks for reaching out! Let's see if we can get the conversation going. Hey, @hilton22 @himanshurauthan @AppDev, can you lend a hand here? Or share some additional troubleshooting tips you like to use in similar situations.
Thank you! — Jaycee
Sep 3, 2022 6:17 AM
Hi @nuwang,
That is true, I am using standard/default properties. However I can also include custom properties. See below for my card configuration, you will notice I'm also sending "favorite_film".
In the portal where I have installed my app I also have the custom property defined. In this case a single line text field with an internal name "favorite_film":
When I load my CRM record the following data is sent to my FETCH URL, notice the presence of the custom property in the query string:
So it's certainly possible. If you aren't seeing this then perhaps the custom property is not defined in the portal in which your application is installed?
Sep 1, 2022 2:07 PM
Hey @nuwang,
Yes, that should absolutely be possible to achieve. If it's not working then there could be something wrong with your configuration. By default it will pass:
But you can also specify additional properties as you mentioned. For instance I've setup a CRM Card which makes a request to the following URL:
https://webhook.site/2bc84ba9-73b0-4500-bc18-76293942efe5?associatedObjectId=19751&associatedObjectT...
See screenshot of the CRM Card settings:
Also, if it helps I put this article together to compliment the API docs.
Let me know how you get on.
Jack
Sep 2, 2022 10:14 PM
Hey Jack, Thank you for the reply.
In your example you are passing the original hubspot properties like firstname, lastname etc in a contact record. In my case, I want to pass a custom property that I have defined in contact.
The custom property is defined under test account that developer account has no idea. But developer account key in the exact property name under "PROPERTIES SENT FROM HUBSPOT" in CRM card definition. The problem is that custom property is not passed through the query parameters.
Sep 3, 2022 6:17 AM
Hi @nuwang,
That is true, I am using standard/default properties. However I can also include custom properties. See below for my card configuration, you will notice I'm also sending "favorite_film".
In the portal where I have installed my app I also have the custom property defined. In this case a single line text field with an internal name "favorite_film":
When I load my CRM record the following data is sent to my FETCH URL, notice the presence of the custom property in the query string:
So it's certainly possible. If you aren't seeing this then perhaps the custom property is not defined in the portal in which your application is installed?
Sep 5, 2022 4:48 AM
Thank you @jackcoldrick
Yes It worked at my end too. I was able to pass custom properties with data fetch url. It needs follow correct naming convension to refer the property in the CRM card defenition which I have not done correctly. For example if the label of the property is "Test Property", it should refer as "test_property" in CRM card definision.
Sep 1, 2022 12:44 PM
Hi, @nuwang 👋 Thanks for reaching out! Let's see if we can get the conversation going. Hey, @hilton22 @himanshurauthan @AppDev, can you lend a hand here? Or share some additional troubleshooting tips you like to use in similar situations.
Thank you! — Jaycee
Sep 2, 2022 10:15 PM
Hi Jaycee, Thank you for the reply. I am still looking for an answer to my question.