<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get *All* Values of a Custom Object from crm_objects  Function in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086941#M41642</link>
    <description>&lt;P&gt;My primary property is&amp;nbsp;&lt;STRONG&gt;webinar_title&lt;/STRONG&gt;. I have a second property of &lt;STRONG&gt;short_description&lt;/STRONG&gt;. As you can see, that does not appear in the results either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No combination of params has yielded ANY difference in the results. I have experimented with different options, different syntax, etc, and I absolutely cannot get crm_objects to pull anything beyond the above code sample for a custom object. I am entirely open to any suggestions because I am confounded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should also mention that crm_object yields similar results. A basic call like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set webinar = crm_object("webinars", 21530396007) %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... also yields no additional information in the array.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2024 13:13:28 GMT</pubDate>
    <dc:creator>thekevinpotts</dc:creator>
    <dc:date>2024-12-24T13:13:28Z</dc:date>
    <item>
      <title>Get *All* Values of a Custom Object from crm_objects  Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086536#M41633</link>
      <description>&lt;P&gt;I have created a custom object for webinars. When I try to query for the webinars' data, it retrieves &lt;EM&gt;only&lt;/EM&gt; the title and the ID, no other values from any other property in the custom object. The most basic code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set webinars = crm_objects("webinars") %}
{{ webinars|pprint }}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this returns only this data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(CrmObjectList: { 
  "hasMore" : false, 
  "offset" : 2, 
  "results" : 
  [ 
    { 
      "id" : 21530395982, 
      "webinar_title" : "Test Webinar 1" 
    }, 
    { 
      "id" : 21530396007, 
      "webinar_title" : "Test Webinar 2" 
    } 
  ], 
  "total" : 2 
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No other data gets pulled -- no timestamps, no custom properties, etc. If I run this same query with a &lt;EM&gt;standard&lt;/EM&gt; object (contact, marketing_event, etc), this query works as expected. Why does it not return all data for a custom object?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2024 18:03:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086536#M41633</guid>
      <dc:creator>thekevinpotts</dc:creator>
      <dc:date>2024-12-22T18:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get *All* Values of a Custom Object from crm_objects Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086789#M41638</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/874216"&gt;@thekevinpotts&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question. What properties are currently set as Primary and Secondary for your Custom Object? Have you tried updating the secondary properties to include the properties you need in this case? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you make a request to a Custom Object record, without including additional properties as a param, do you “only” get back the title and id? Or are other properties returned as well?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the additional information! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 17:00:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086789#M41638</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-12-23T17:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get *All* Values of a Custom Object from crm_objects  Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086941#M41642</link>
      <description>&lt;P&gt;My primary property is&amp;nbsp;&lt;STRONG&gt;webinar_title&lt;/STRONG&gt;. I have a second property of &lt;STRONG&gt;short_description&lt;/STRONG&gt;. As you can see, that does not appear in the results either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No combination of params has yielded ANY difference in the results. I have experimented with different options, different syntax, etc, and I absolutely cannot get crm_objects to pull anything beyond the above code sample for a custom object. I am entirely open to any suggestions because I am confounded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should also mention that crm_object yields similar results. A basic call like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set webinar = crm_object("webinars", 21530396007) %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... also yields no additional information in the array.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 13:13:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1086941#M41642</guid>
      <dc:creator>thekevinpotts</dc:creator>
      <dc:date>2024-12-24T13:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get *All* Values of a Custom Object from crm_objects  Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1087295#M41645</link>
      <description>&lt;P&gt;OK, I discovered that the function MUST include more information, which I did not sufficiently explore in my initial tests. Custom objects seem to be unique in this regard. Whereas the&amp;nbsp;crm_objects function calls a full array for &lt;EM&gt;standard&lt;/EM&gt; HubSpot objects,&amp;nbsp;crm_objects must include a filter and the names of the properties being called.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words, this works as expected:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set webinars = crm_objects("webinars", "limit=5","webinar_title,slug,date_and_time,short_description") %}
{{ webinars|pprint }}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will then give me a full array with the title, url slug, date and time, and my summary, all of which are custom properties.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 16:17:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1087295#M41645</guid>
      <dc:creator>thekevinpotts</dc:creator>
      <dc:date>2024-12-26T16:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get *All* Values of a Custom Object from crm_objects Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1090896#M41697</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/874216"&gt;@thekevinpotts&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thank you very much for taking the time to come back and update your post! — Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 21:39:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Get-All-Values-of-a-Custom-Object-from-crm-objects-Function/m-p/1090896#M41697</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-01-07T21:39:57Z</dc:date>
    </item>
  </channel>
</rss>

