<?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 Passing report headers via the flex api in Business Questions</title>
    <link>https://community.esri.com/t5/business-questions/passing-report-headers-via-the-flex-api/m-p/39125#M696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The rest api has the ability to pass report headers as a key value pair.&amp;nbsp; The flex api has BAReportHeader that accepts only the subtitle.&amp;nbsp; How do you pass other values for locationname, address etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var reportHeader:BAReportHeader = new BAReportHeader(subtitle);
new ReportOptions("PDF", _reportTemplateName, reportHeader);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My custom report supports the following &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Headers&amp;nbsp; :&amp;nbsp; [ locationname �??&amp;nbsp; address �??&amp;nbsp; latitude �??&amp;nbsp; reportstyle �??&amp;nbsp; binarylogo �??&amp;nbsp; ]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 21:31:25 GMT</pubDate>
    <dc:creator>PrashanthSukumaran</dc:creator>
    <dc:date>2021-12-10T21:31:25Z</dc:date>
    <item>
      <title>Passing report headers via the flex api</title>
      <link>https://community.esri.com/t5/business-questions/passing-report-headers-via-the-flex-api/m-p/39125#M696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The rest api has the ability to pass report headers as a key value pair.&amp;nbsp; The flex api has BAReportHeader that accepts only the subtitle.&amp;nbsp; How do you pass other values for locationname, address etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var reportHeader:BAReportHeader = new BAReportHeader(subtitle);
new ReportOptions("PDF", _reportTemplateName, reportHeader);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My custom report supports the following &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Headers&amp;nbsp; :&amp;nbsp; [ locationname �??&amp;nbsp; address �??&amp;nbsp; latitude �??&amp;nbsp; reportstyle �??&amp;nbsp; binarylogo �??&amp;nbsp; ]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/passing-report-headers-via-the-flex-api/m-p/39125#M696</guid>
      <dc:creator>PrashanthSukumaran</dc:creator>
      <dc:date>2021-12-10T21:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passing report headers via the flex api</title>
      <link>https://community.esri.com/t5/business-questions/passing-report-headers-via-the-flex-api/m-p/39126#M697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use customHeaders parameter in BAReportOptions with the key value pairs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ex: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var customHeaders : Object = header.customHeaders; 
customHeaders["address"] = "my address";&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/passing-report-headers-via-the-flex-api/m-p/39126#M697</guid>
      <dc:creator>MehakSujan</dc:creator>
      <dc:date>2021-12-10T21:31:28Z</dc:date>
    </item>
  </channel>
</rss>

