<?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: XSOAR CreateEmailHtmlBody Error in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575396#M3036</link>
    <description>&lt;P&gt;Absolutely, so here is the variables set&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyReavis_0-1706810470903.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57037iDC6B57FC867CA3E1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="CodyReavis_0-1706810470903.png" alt="CodyReavis_0-1706810470903.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The listTemplate is taken directly from XSOAR while the incident.details is taken from and ID I set in the HTML.&lt;BR /&gt;&lt;BR /&gt;Here is the output of the error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyReavis_1-1706810582528.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57038i4ED97BA8AB8C2EF6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="CodyReavis_1-1706810582528.png" alt="CodyReavis_1-1706810582528.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To me, that is signifying that it cannot find the key, but I am still unsure what that context key is based on the docs I have read here:&lt;BR /&gt;&lt;A href="https://xsoar.pan.dev/docs/reference/scripts/create-email-html-body" target="_blank"&gt;https://xsoar.pan.dev/docs/reference/scripts/create-email-html-body&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 18:03:43 GMT</pubDate>
    <dc:creator>CodyReavis</dc:creator>
    <dc:date>2024-02-01T18:03:43Z</dc:date>
    <item>
      <title>XSOAR CreateEmailHtmlBody Error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575208#M3029</link>
      <description>&lt;P&gt;I am attempting to create an email from an HTML template but am receiving an error stating "Item not found (8) on list..." followed my the HTML contents of my saved list. I am sure it is looking for the key attribute that is required for the script, however I am not sure what it is asking for.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Based on docs, the key argument is the "The context key to store the HTML body". I did some searches but am still confused on what it is needing to successfully execute.&lt;BR /&gt;&lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 00:47:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575208#M3029</guid>
      <dc:creator>CodyReavis</dc:creator>
      <dc:date>2024-02-01T00:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR CreateEmailHtmlBody Error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575393#M3035</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/149045"&gt;@CodyReavis&lt;/a&gt;&amp;nbsp;Is it possible that the HTML template has a context key variable in ${} notation and the key is not present in the context? Please upload some screenshots if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul Vijaydev&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 17:59:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575393#M3035</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2024-02-01T17:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR CreateEmailHtmlBody Error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575396#M3036</link>
      <description>&lt;P&gt;Absolutely, so here is the variables set&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyReavis_0-1706810470903.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57037iDC6B57FC867CA3E1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="CodyReavis_0-1706810470903.png" alt="CodyReavis_0-1706810470903.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The listTemplate is taken directly from XSOAR while the incident.details is taken from and ID I set in the HTML.&lt;BR /&gt;&lt;BR /&gt;Here is the output of the error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyReavis_1-1706810582528.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/57038i4ED97BA8AB8C2EF6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="CodyReavis_1-1706810582528.png" alt="CodyReavis_1-1706810582528.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To me, that is signifying that it cannot find the key, but I am still unsure what that context key is based on the docs I have read here:&lt;BR /&gt;&lt;A href="https://xsoar.pan.dev/docs/reference/scripts/create-email-html-body" target="_blank"&gt;https://xsoar.pan.dev/docs/reference/scripts/create-email-html-body&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 18:03:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575396#M3036</guid>
      <dc:creator>CodyReavis</dc:creator>
      <dc:date>2024-02-01T18:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR CreateEmailHtmlBody Error</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575574#M3044</link>
      <description>&lt;P&gt;I see the problem. The list template should be the name of the list only and not part of the ${} notation. for ex. !CreateEmailHTMLBody listTemplate=DefenseStormAlertTemplate ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 22:00:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-createemailhtmlbody-error/m-p/575574#M3044</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2024-02-02T22:00:30Z</dc:date>
    </item>
  </channel>
</rss>

