<?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: Find a resource with its ID in a quote template in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154204#M43058</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/876755"&gt;@TCarbuccia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In HubSpot's quote templates, directly fetching a custom object by its ID using HubL isn't supported. HubL functions like &lt;EM&gt;&lt;STRONG&gt;crm_associations()&lt;/STRONG&gt;&lt;/EM&gt; are designed to retrieve associated records, not arbitrary ones by ID.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Quote-template-using-crm-associations-HubL-function/m-p/742916/highlight/true#M32353" target="_blank" rel="noopener"&gt;Hubspot Community Thread&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workarounds:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Associate the Custom Object:&lt;/STRONG&gt; Link the custom object to the deal or quote so it becomes accessible via crm_associations().&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use CRM Cards or UI Extensions:&lt;/STRONG&gt; For more advanced needs, consider building a CRM card or UI extension that fetches and displays the custom object data using HubSpot's APIs. ( &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/commerce/quotes" target="_blank"&gt;https://developers.hubspot.com/docs/guides/api/crm/commerce/quotes&lt;/A&gt;&amp;nbsp;&amp;amp; &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/extensions/crm-cards" target="_blank"&gt;https://developers.hubspot.com/docs/guides/api/crm/extensions/crm-cards&lt;/A&gt; )&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Pre-fetch and Store Data:&lt;/STRONG&gt; If the custom object data is known beforehand, you might store necessary details in a custom property on the quote or deal, making it accessible in the template.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For further details on quote template variables and customization, refer to &lt;A href="https://developers.hubspot.com/docs/reference/cms/hubl/quote-variables" target="_blank" rel="noopener"&gt;HubSpot's developer documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kosala&lt;/P&gt;</description>
    <pubDate>Mon, 19 May 2025 13:09:49 GMT</pubDate>
    <dc:creator>kosalaindrasiri</dc:creator>
    <dc:date>2025-05-19T13:09:49Z</dc:date>
    <item>
      <title>Find a resource with its ID in a quote template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154071#M43056</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to find a custom object using its HubSpot ID in the quote builder?&lt;BR /&gt;&lt;BR /&gt;This resource isn't linked to my deal; I only have its ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't been able&amp;nbsp; to find documentation on this.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 08:10:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154071#M43056</guid>
      <dc:creator>TCarbuccia</dc:creator>
      <dc:date>2025-05-19T08:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find a resource with its ID in a quote template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154204#M43058</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/876755"&gt;@TCarbuccia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In HubSpot's quote templates, directly fetching a custom object by its ID using HubL isn't supported. HubL functions like &lt;EM&gt;&lt;STRONG&gt;crm_associations()&lt;/STRONG&gt;&lt;/EM&gt; are designed to retrieve associated records, not arbitrary ones by ID.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Quote-template-using-crm-associations-HubL-function/m-p/742916/highlight/true#M32353" target="_blank" rel="noopener"&gt;Hubspot Community Thread&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workarounds:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Associate the Custom Object:&lt;/STRONG&gt; Link the custom object to the deal or quote so it becomes accessible via crm_associations().&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use CRM Cards or UI Extensions:&lt;/STRONG&gt; For more advanced needs, consider building a CRM card or UI extension that fetches and displays the custom object data using HubSpot's APIs. ( &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/commerce/quotes" target="_blank"&gt;https://developers.hubspot.com/docs/guides/api/crm/commerce/quotes&lt;/A&gt;&amp;nbsp;&amp;amp; &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/extensions/crm-cards" target="_blank"&gt;https://developers.hubspot.com/docs/guides/api/crm/extensions/crm-cards&lt;/A&gt; )&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Pre-fetch and Store Data:&lt;/STRONG&gt; If the custom object data is known beforehand, you might store necessary details in a custom property on the quote or deal, making it accessible in the template.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For further details on quote template variables and customization, refer to &lt;A href="https://developers.hubspot.com/docs/reference/cms/hubl/quote-variables" target="_blank" rel="noopener"&gt;HubSpot's developer documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kosala&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 13:09:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154204#M43058</guid>
      <dc:creator>kosalaindrasiri</dc:creator>
      <dc:date>2025-05-19T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find a resource with its ID in a quote template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154911#M43080</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I kind of suspected as much.&lt;BR /&gt;&lt;BR /&gt;I'm going to try the workarounds you shared.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 21:05:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Find-a-resource-with-its-ID-in-a-quote-template/m-p/1154911#M43080</guid>
      <dc:creator>TCarbuccia</dc:creator>
      <dc:date>2025-05-20T21:05:28Z</dc:date>
    </item>
  </channel>
</rss>

