<?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: Export To File API specific pages in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1270122#M25055</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;but do you have an example of the syntax? I see that reference to Get Pages but not sure how to translate that to a JSON body in an HTTP call. Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 03:07:03 GMT</pubDate>
    <dc:creator>klinejordan</dc:creator>
    <dc:date>2020-08-04T03:07:03Z</dc:date>
    <item>
      <title>Export To File API specific pages</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1269744#M25051</link>
      <description>&lt;P&gt;I am trying to build the Body of a HTTP call to export a non-paginated report to PDF. The simple body just specifying the format works without issue:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"format": "PDF"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to add references to specific pages, it works but still exports the entire report and not just the pages I specify. Am I missing something in the syntax?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"format": "PDF",&lt;BR /&gt;"powerBIReportExportConfiguration": {&lt;BR /&gt;"Pages": ["ReportSectiona9e3231081c009928308","ReportSectionff5f4406621243856c08"]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 22:07:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1269744#M25051</guid>
      <dc:creator>klinejordan</dc:creator>
      <dc:date>2020-08-03T22:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export To File API specific pages</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1269855#M25053</link>
      <description>&lt;P&gt;Yes, the call expects a different format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Selecting which pages to print&lt;/H3&gt;&lt;P&gt;Specify the pages you want to print according to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getpages" target="_blank" rel="noopener"&gt;Get Pages&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getpagesingroup" target="_blank" rel="noopener"&gt;Get Pages in Group&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;return value. You can also specify the order of the pages you're exporting.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 00:06:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1269855#M25053</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-04T00:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export To File API specific pages</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1270122#M25055</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;but do you have an example of the syntax? I see that reference to Get Pages but not sure how to translate that to a JSON body in an HTTP call. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 03:07:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1270122#M25055</guid>
      <dc:creator>klinejordan</dc:creator>
      <dc:date>2020-08-04T03:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export To File API specific pages</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1270159#M25056</link>
      <description>&lt;P&gt;You take the output of Getpages and modify it as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;{
	format: "PDF",
        powerBIReportConfiguration:{"value": [
    {
      "Name": "ReportSection59a3330f95669ad473e6",
      "displayName": "1 Summary",
      "order": 0
    },
    {
      "Name": "ReportSectionc587b2defc60bdd51b80",
      "displayName": "2 Weekly FY20Q3",
      "order": 1
    }
   ]
  }
}       &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: No, that didn't work it still exported the entire set of pages.&amp;nbsp; Here's the format that actually works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;{
	format: "PDF",
        powerBIReportConfiguration:{pages:[{pageName:"ReportSection59a3330f95669ad473e6"},{pageName:"ReportSectionc587b2defc60bdd51b80"}]}
}   &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you were pretty close &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 04:07:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1270159#M25056</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-04T04:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export To File API specific pages</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1272685#M25072</link>
      <description>&lt;P&gt;That worked! I was almost there! Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 21:03:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-To-File-API-specific-pages/m-p/1272685#M25072</guid>
      <dc:creator>klinejordan</dc:creator>
      <dc:date>2020-08-04T21:03:08Z</dc:date>
    </item>
  </channel>
</rss>

