<?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 Quotes - Fetching object associated to the deal in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/722624#M31579</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;So i have quotes up and running. Internal teams can generate a quote from the deal and it will fetch all the associated custom objects to the deal and display them on the quote.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;To do so, i am using the below code:&lt;/P&gt;&lt;PRE&gt;{% set customobject = template_data.quote.associated_objects.deal.associated_objects.custom_objects.ObjectID %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;This however, is fetching all the associated objects. I would like to fetch the associated objects that have a certain association label.&lt;BR /&gt;I already got the association type id (298), but i don;t know how to add to the above line of code so that i can only filter/fetch the objects with this specific association label.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 11:47:59 GMT</pubDate>
    <dc:creator>ChrisChiha</dc:creator>
    <dc:date>2022-11-24T11:47:59Z</dc:date>
    <item>
      <title>Quotes - Fetching object associated to the deal</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/722624#M31579</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;So i have quotes up and running. Internal teams can generate a quote from the deal and it will fetch all the associated custom objects to the deal and display them on the quote.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;To do so, i am using the below code:&lt;/P&gt;&lt;PRE&gt;{% set customobject = template_data.quote.associated_objects.deal.associated_objects.custom_objects.ObjectID %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;This however, is fetching all the associated objects. I would like to fetch the associated objects that have a certain association label.&lt;BR /&gt;I already got the association type id (298), but i don;t know how to add to the above line of code so that i can only filter/fetch the objects with this specific association label.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 11:47:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/722624#M31579</guid>
      <dc:creator>ChrisChiha</dc:creator>
      <dc:date>2022-11-24T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Quotes - Fetching object associated to the deal</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/724105#M31630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/264909"&gt;@ChrisChiha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out!&lt;/P&gt;
&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20405"&gt;@himanshurauthan&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/193060"&gt;@JBeatty&lt;/a&gt;&amp;nbsp;- Would you be able to lend a hand?&lt;/P&gt;
&lt;P&gt;Thanks!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":star:"&gt;⭐&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 13:09:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/724105#M31630</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2022-11-29T13:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Quotes - Fetching object associated to the deal</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/724507#M31650</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/106905"&gt;@kvlschaefer&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thanks for your reply, this issue was sorted.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Code used to fetch associated custom objects based on association label:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set quote_associated_object = crm_associations(template_data.quote.associated_objects.deal.hs_object_id, "USER_DEFINED", "association type ID", "limit=200", "property field that you need to fetch from the custom object - internal name", false) %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/264909"&gt;@ChrisChiha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 06:11:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/724507#M31650</guid>
      <dc:creator>ChrisChiha</dc:creator>
      <dc:date>2022-11-30T06:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Quotes - Fetching object associated to the deal</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/724589#M31652</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/264909"&gt;@ChrisChiha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing this update with us!&lt;/P&gt;
&lt;P&gt;Glad to hear you were able to resolve it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 09:30:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Quotes-Fetching-object-associated-to-the-deal/m-p/724589#M31652</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2022-11-30T09:30:07Z</dc:date>
    </item>
  </channel>
</rss>

