<?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 Macro IfNotEmpty in Network Security Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/network-security-discussions/macro-ifnotempty/m-p/1314839#M52</link>
    <description>&lt;P&gt;I would like to display some text in the body of a mail template only when the value of a macro is not empty. Acutally I would like to display a text that also contains the value of the non empty macro. For example if a certificate contains OUs I would like to display a text &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The certificate with the following OUs &amp;amp;lt;list of OUs&amp;amp;gt; ... but only if the certificates has OUs and nothing at all if it doesnt have any OUsOr to add a sentence in the mail The certificate requested by &amp;amp;lt;Last Updated By&amp;amp;gt; ... but only if the field is not empty. I know I can use the IfEmpty macro to put for example Unknown if Last Updated By is empty to build a sentence that would look like The certificate requested by Unknown  but this is not what I want. How could this be achieved?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 11:02:48 GMT</pubDate>
    <dc:creator>P.Uytdenhoef582017</dc:creator>
    <dc:date>2021-12-03T11:02:48Z</dc:date>
    <item>
      <title>Macro IfNotEmpty</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/macro-ifnotempty/m-p/1314839#M52</link>
      <description>&lt;P&gt;I would like to display some text in the body of a mail template only when the value of a macro is not empty. Acutally I would like to display a text that also contains the value of the non empty macro. For example if a certificate contains OUs I would like to display a text &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The certificate with the following OUs &amp;amp;lt;list of OUs&amp;amp;gt; ... but only if the certificates has OUs and nothing at all if it doesnt have any OUsOr to add a sentence in the mail The certificate requested by &amp;amp;lt;Last Updated By&amp;amp;gt; ... but only if the field is not empty. I know I can use the IfEmpty macro to put for example Unknown if Last Updated By is empty to build a sentence that would look like The certificate requested by Unknown  but this is not what I want. How could this be achieved?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 11:02:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/macro-ifnotempty/m-p/1314839#M52</guid>
      <dc:creator>P.Uytdenhoef582017</dc:creator>
      <dc:date>2021-12-03T11:02:48Z</dc:date>
    </item>
  </channel>
</rss>

