<?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 Custom Coded Action - Parse Property for Custom Object ID in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1081081#M78841</link>
    <description>&lt;P&gt;I have a form that collects vins and other info from users. These users need to be able to list an unlimited number of vins, so I'm using a multi-line property to allow them to input as many as needed (one per line).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the thing, we use vin as the unique identifier of our custom object "Vehicles". I need a way to separate the multi-line field into individual vins, and create a Vehicle record for each. I know that with custom coded actions I can parse through the collected vins and add them to a list, but is it possible to create a Vehicle record for each within the same action?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks y'all!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 18:41:52 GMT</pubDate>
    <dc:creator>JLittle2</dc:creator>
    <dc:date>2024-12-09T18:41:52Z</dc:date>
    <item>
      <title>Custom Coded Action - Parse Property for Custom Object ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1081081#M78841</link>
      <description>&lt;P&gt;I have a form that collects vins and other info from users. These users need to be able to list an unlimited number of vins, so I'm using a multi-line property to allow them to input as many as needed (one per line).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the thing, we use vin as the unique identifier of our custom object "Vehicles". I need a way to separate the multi-line field into individual vins, and create a Vehicle record for each. I know that with custom coded actions I can parse through the collected vins and add them to a list, but is it possible to create a Vehicle record for each within the same action?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks y'all!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 18:41:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1081081#M78841</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-12-09T18:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Coded Action - Parse Property for Custom Object ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1081188#M78846</link>
      <description>&lt;P&gt;Attached is the code I've pulled together. I'm getting this lambda error:&lt;BR /&gt;&lt;BR /&gt;LAMBDA_WARNING: Unhandled exception. The most likely cause is an issue in the function code. However, in rare cases, a Lambda runtime update can cause unexpected function behavior. For functions using managed runtimes, runtime updates can be triggered by a function change, or can be applied automatically. To determine if the runtime has been updated, check the runtime version in the INIT_START log entry. If this error correlates with a change in the runtime version, you may be able to mitigate this error by temporarily rolling back to the previous runtime version. For more information, see &lt;A href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html" target="_blank"&gt;https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html&lt;/A&gt;&lt;BR /&gt;[ERROR] TypeError: main() missing 1 required positional argument: 'context'&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/var/task/hubspotHandler.py", line 6, in hubspot_handler&lt;BR /&gt;return file.main(event)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-09 at 4.59.07 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/133542iBCFC6F21A07FC255/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-09 at 4.59.07 PM.png" alt="Screenshot 2024-12-09 at 4.59.07 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 00:01:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1081188#M78846</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-12-10T00:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Coded Action - Parse Property for Custom Object ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1082811#M78925</link>
      <description>&lt;P&gt;This is the code that ended up working for me. I just got rid of the context. Also, turns out, when you use test action in a custom coded action it can't fetch associated object properties, so I had to test the whole workflow for it to pull all the information. But it works! Hopefully this helps someone else in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-12 at 11.19.40 AM.png" style="width: 736px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/133835i5C2BE65A024F8ACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-12 at 11.19.40 AM.png" alt="Screenshot 2024-12-12 at 11.19.40 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 18:21:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Coded-Action-Parse-Property-for-Custom-Object-ID/m-p/1082811#M78925</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-12-12T18:21:52Z</dc:date>
    </item>
  </channel>
</rss>

