<?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: Personalized Signature on Quotes in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1145937#M42967</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141065"&gt;@Pietro-Poli-&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The issue you're encountering with adding &lt;/SPAN&gt;&lt;SPAN&gt;signer.company&lt;/SPAN&gt;&lt;SPAN&gt; directly into the &lt;/SPAN&gt;&lt;SPAN&gt;format_name&lt;/SPAN&gt;&lt;SPAN&gt; function is likely because &lt;/SPAN&gt;&lt;SPAN&gt;company&lt;/SPAN&gt;&lt;SPAN&gt; is not a default property directly available within the &lt;/SPAN&gt;&lt;SPAN&gt;signer&lt;/SPAN&gt;&lt;SPAN&gt; object in the quote signature module. The &lt;/SPAN&gt;&lt;SPAN&gt;signers&lt;/SPAN&gt;&lt;SPAN&gt; object primarily contains basic contact information like first name and last name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To include the company name, which is typically associated with the contact record in HubSpot, you'll need to access the associated company information for each signer. This usually involves using HubSpot's &lt;/SPAN&gt;&lt;SPAN&gt;crm_associations&lt;/SPAN&gt;&lt;SPAN&gt; function within your HubL code to retrieve the company linked to the contact who is designated as the signer.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's a breakdown of why your approach didn't work and how to correctly implement it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why &lt;/STRONG&gt;&lt;STRONG&gt;format_name(signer.company, signer.first_name, signer.last_name, use_honorific)&lt;/STRONG&gt;&lt;STRONG&gt; Fails:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN&gt;format_name&lt;/SPAN&gt;&lt;SPAN&gt; function is designed to format a name using provided first name, last name, and optionally an honorific. It does not have a parameter or built-in capability to handle a company name in that position.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to Correctly Include the Company Name:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to retrieve the company associated with the &lt;/SPAN&gt;&lt;SPAN&gt;signer&lt;/SPAN&gt;&lt;SPAN&gt; contact object separately and then construct the full name string yourself, incorporating the company name where you want it to appear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's a conceptual example of how you might modify your macro, keeping in mind that the exact implementation might vary slightly based on the specific structure of the &lt;/SPAN&gt;&lt;SPAN&gt;signer&lt;/SPAN&gt;&lt;SPAN&gt; object and available HubL functions in your quote module environment:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{# Localize the ordering of first and last name #}
{% macro localize_signer_names(signers, use_honorific) -%}
{% for signer in signers %}
   {# Attempt to get the associated company for the signer's contact record #}
   {% set associated_companies = crm_associations(signer.hs_object_id, "HUBSPOT_DEFINED", 1, "limit=1", "name") %} {# Assuming hs_object_id is the contact ID #}

   {% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %}

   {% if associated_companies.results %}
       {% set company_name = associated_companies.results[0].name %}
       {# Construct the full name including the company name #}
       {% set signer_full_name_with_company = signer_full_name ~ ", " ~ company_name %} {# Example: "John Doe, HubSpot" #}
       {% do signer.update({ "full_name": signer_full_name_with_company }) %}
   {% else %}
       {% do signer.update({ "full_name": signer_full_name }) %}
   {% endif %}
{% endfor %}
{%- endmacro %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where to Set Up the Company Field:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The company information itself is stored on the Company record in HubSpot and linked to the Contact record. When you associate a contact with a deal and then create a quote from that deal, HubSpot pulls information related to the contact and associated company.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You don't need to "set up" the company field specifically within the quote module code. Instead, ensure that:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The contacts who will be signing the quote have an associated company in your HubSpot CRM.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The quote is associated with the correct deal and contacts.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;By using &lt;/SPAN&gt;&lt;SPAN&gt;crm_associations&lt;/SPAN&gt;&lt;SPAN&gt; in your quote template code, you are accessing the existing company data linked to the signer's contact record.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 11:11:37 GMT</pubDate>
    <dc:creator>Balaji_Mavlers1</dc:creator>
    <dc:date>2025-05-08T11:11:37Z</dc:date>
    <item>
      <title>Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1143867#M42900</link>
      <description>&lt;P&gt;Hi! I'm working on personalize quote module for quote signature.&lt;BR /&gt;The standard code is:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;
{# Localize the ordering of first and last name #}
{% macro localize_signer_names(signers, use_honorific) -%}
{% for signer in signers %}
{% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %} 
{% do signer.update({ "full_name": signer_full_name }) %}
{% endfor %}
{%- endmacro %}&lt;/LI-CODE&gt;
&lt;P&gt;Now I need to add signer.company (fields taken from contact record) in signer_full_name, if I add:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set signer_full_name = format_name(signer.company, signer.first_name, signer.last_name, use_honorific) %}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;It doesn't work.&lt;BR /&gt;In what module I've to setup also company field?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2025 06:26:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1143867#M42900</guid>
      <dc:creator>Pietro-Poli-</dc:creator>
      <dc:date>2025-05-03T06:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1144298#M42908</link>
      <description>&lt;P&gt;Hi &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/141065"&gt;@Pietro-Poli-&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to invite some members of our community who may offer valuable insights.— hey &lt;STRONG&gt;&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/754021"&gt;@Balaji_Mavlers1&lt;/a&gt;&lt;/SPAN&gt;, &lt;/STRONG&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2062" target="_blank"&gt;&lt;STRONG&gt;@Josh&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;, &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/863028"&gt;@EMalueg&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt; - Could you share your advice with &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/141065"&gt;@Pietro-Poli-&lt;/a&gt;&lt;/SPAN&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for taking a look!&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 08:37:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1144298#M42908</guid>
      <dc:creator>DianaGomez</dc:creator>
      <dc:date>2025-05-05T08:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1144392#M42913</link>
      <description>&lt;P&gt;What does your format_name macro look like?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %} 

{# this would likely be #}
{# adding in whatever the use_honorifc does #}
{% macro format_name(firstname, lastname, use_honorific) %}

  {{ firstname ~ ' ' ~ lastname }}
{% endmacro %}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;So if you are sending the company name&amp;nbsp; signer.company so that is appearing as the first item instead of firstname&lt;BR /&gt;&lt;BR /&gt;So you need to make a new macro, or update that macro. If that macro is something in the quotes as a default item, you'd just need to make a macro that helps you figure this out.k.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 13:44:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1144392#M42913</guid>
      <dc:creator>nickdeckerdevs1</dc:creator>
      <dc:date>2025-05-05T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1144797#M42933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115766"&gt;@nickdeckerdevs1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;my code is this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PietroPoli_0-1746512691583.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/145206i151CB8AA8613D36F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PietroPoli_0-1746512691583.png" alt="PietroPoli_0-1746512691583.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I add company nothing is shown.&lt;BR /&gt;I need to understand where I've to add company&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 06:25:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1144797#M42933</guid>
      <dc:creator>Pietro-Poli-</dc:creator>
      <dc:date>2025-05-06T06:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1145937#M42967</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141065"&gt;@Pietro-Poli-&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The issue you're encountering with adding &lt;/SPAN&gt;&lt;SPAN&gt;signer.company&lt;/SPAN&gt;&lt;SPAN&gt; directly into the &lt;/SPAN&gt;&lt;SPAN&gt;format_name&lt;/SPAN&gt;&lt;SPAN&gt; function is likely because &lt;/SPAN&gt;&lt;SPAN&gt;company&lt;/SPAN&gt;&lt;SPAN&gt; is not a default property directly available within the &lt;/SPAN&gt;&lt;SPAN&gt;signer&lt;/SPAN&gt;&lt;SPAN&gt; object in the quote signature module. The &lt;/SPAN&gt;&lt;SPAN&gt;signers&lt;/SPAN&gt;&lt;SPAN&gt; object primarily contains basic contact information like first name and last name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To include the company name, which is typically associated with the contact record in HubSpot, you'll need to access the associated company information for each signer. This usually involves using HubSpot's &lt;/SPAN&gt;&lt;SPAN&gt;crm_associations&lt;/SPAN&gt;&lt;SPAN&gt; function within your HubL code to retrieve the company linked to the contact who is designated as the signer.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's a breakdown of why your approach didn't work and how to correctly implement it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why &lt;/STRONG&gt;&lt;STRONG&gt;format_name(signer.company, signer.first_name, signer.last_name, use_honorific)&lt;/STRONG&gt;&lt;STRONG&gt; Fails:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN&gt;format_name&lt;/SPAN&gt;&lt;SPAN&gt; function is designed to format a name using provided first name, last name, and optionally an honorific. It does not have a parameter or built-in capability to handle a company name in that position.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to Correctly Include the Company Name:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to retrieve the company associated with the &lt;/SPAN&gt;&lt;SPAN&gt;signer&lt;/SPAN&gt;&lt;SPAN&gt; contact object separately and then construct the full name string yourself, incorporating the company name where you want it to appear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's a conceptual example of how you might modify your macro, keeping in mind that the exact implementation might vary slightly based on the specific structure of the &lt;/SPAN&gt;&lt;SPAN&gt;signer&lt;/SPAN&gt;&lt;SPAN&gt; object and available HubL functions in your quote module environment:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{# Localize the ordering of first and last name #}
{% macro localize_signer_names(signers, use_honorific) -%}
{% for signer in signers %}
   {# Attempt to get the associated company for the signer's contact record #}
   {% set associated_companies = crm_associations(signer.hs_object_id, "HUBSPOT_DEFINED", 1, "limit=1", "name") %} {# Assuming hs_object_id is the contact ID #}

   {% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %}

   {% if associated_companies.results %}
       {% set company_name = associated_companies.results[0].name %}
       {# Construct the full name including the company name #}
       {% set signer_full_name_with_company = signer_full_name ~ ", " ~ company_name %} {# Example: "John Doe, HubSpot" #}
       {% do signer.update({ "full_name": signer_full_name_with_company }) %}
   {% else %}
       {% do signer.update({ "full_name": signer_full_name }) %}
   {% endif %}
{% endfor %}
{%- endmacro %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where to Set Up the Company Field:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The company information itself is stored on the Company record in HubSpot and linked to the Contact record. When you associate a contact with a deal and then create a quote from that deal, HubSpot pulls information related to the contact and associated company.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You don't need to "set up" the company field specifically within the quote module code. Instead, ensure that:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The contacts who will be signing the quote have an associated company in your HubSpot CRM.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The quote is associated with the correct deal and contacts.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;By using &lt;/SPAN&gt;&lt;SPAN&gt;crm_associations&lt;/SPAN&gt;&lt;SPAN&gt; in your quote template code, you are accessing the existing company data linked to the signer's contact record.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 11:11:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1145937#M42967</guid>
      <dc:creator>Balaji_Mavlers1</dc:creator>
      <dc:date>2025-05-08T11:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1146010#M42969</link>
      <description>&lt;P&gt;Thanks for doing this. I haven't had time to get into a quote template to build this out and make a response like this. Appreciate you!&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 13:31:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1146010#M42969</guid>
      <dc:creator>nickdeckerdevs1</dc:creator>
      <dc:date>2025-05-08T13:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Personalized Signature on Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1146040#M42972</link>
      <description>&lt;P&gt;thank&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/754021"&gt;@Balaji_Mavlers1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 14:04:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Personalized-Signature-on-Quotes/m-p/1146040#M42972</guid>
      <dc:creator>Pietro-Poli-</dc:creator>
      <dc:date>2025-05-08T14:04:12Z</dc:date>
    </item>
  </channel>
</rss>

