<?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: Azure Form Recognizer Analyze Form - PDF in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62696#M2425</link>
    <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/686"&gt;@AminPatel1&lt;/a&gt;​ and @Taha&amp;nbsp;Sonmez&lt;BR /&gt;&lt;BR /&gt;I am unable to consume this web api with binary data. I changed the body content of request as 'Single File'. And the content-type is application\pdf. I am sending binary data but an error occurs.&lt;BR /&gt;&lt;BR /&gt;Internal : Unexpected error Error during Web API HTTP Request&lt;BR /&gt;HTTP Status Code: 400&lt;BR /&gt;HTTP Response Content: {"error":{"code":"1002","message":"Analyze request is either invalid or missing required parameters. Refer to the API reference and retry your request."}}&lt;BR /&gt;&lt;BR /&gt;Can you please help me?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John L. Lehman&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Jan 2021 11:04:00 GMT</pubDate>
    <dc:creator>John_L_Lehman</dc:creator>
    <dc:date>2021-01-28T11:04:00Z</dc:date>
    <item>
      <title>Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62693#M2422</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I'm trying to integrate Blue Prism with Microsoft Azure Form Recognizer. I'm using this &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/form-recognizer-azure-cloud" target="_blank" rel="noopener"&gt;skill&lt;/A&gt; from Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;I have PDFs in machine and I want to analyze them. When I send the request with Base64 string of PDF, it gives an error. I don't know encoding PDF file to base64 is the correct way.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8342.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/8516i606ED0231A19DBDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="8342.png" alt="8342.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;The error:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8344.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/8522i031B86857640A954/image-size/large?v=v2&amp;amp;px=999" role="button" title="8344.png" alt="8344.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
And how do I convert PDF to Base64;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8346.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/8518iD7E13CD69D7CECE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="8346.png" alt="8346.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Taha Sonmez&lt;BR /&gt;------------------------------</description>
      <pubDate>Fri, 23 Oct 2020 17:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62693#M2422</guid>
      <dc:creator>TahaSonmez</dc:creator>
      <dc:date>2020-10-23T17:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62694#M2423</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I think you need to send the pdf data as binary. You can use LoadBinaryFile function in calc stage to do that.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Gopal&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Oct 2020 04:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62694#M2423</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2020-10-26T04:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62695#M2424</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are two ways -&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;First you have to change Form Recognizer Client Service WebAPI's Analyze Form request to accept single file instead of default template {"source":"[source]"} available. Then you need to convert the pdf data as binary using calculate stage with expression LoadBinaryFile(source-file). OR&lt;/LI&gt;
&lt;LI&gt;In Analyze Form action inputs change ContentType to "application/json" and pass the url for pdf document in source parameter without decorating "".&lt;/LI&gt;
&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amin Patel&lt;BR /&gt;Intelligent Automation Developer&lt;BR /&gt;Emerson&lt;BR /&gt;Pune India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 11:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62695#M2424</guid>
      <dc:creator>AminPatel1</dc:creator>
      <dc:date>2020-10-28T11:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62696#M2425</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/686"&gt;@AminPatel1&lt;/a&gt;​ and @Taha&amp;nbsp;Sonmez&lt;BR /&gt;&lt;BR /&gt;I am unable to consume this web api with binary data. I changed the body content of request as 'Single File'. And the content-type is application\pdf. I am sending binary data but an error occurs.&lt;BR /&gt;&lt;BR /&gt;Internal : Unexpected error Error during Web API HTTP Request&lt;BR /&gt;HTTP Status Code: 400&lt;BR /&gt;HTTP Response Content: {"error":{"code":"1002","message":"Analyze request is either invalid or missing required parameters. Refer to the API reference and retry your request."}}&lt;BR /&gt;&lt;BR /&gt;Can you please help me?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John L. Lehman&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 11:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62696#M2425</guid>
      <dc:creator>John_L_Lehman</dc:creator>
      <dc:date>2021-01-28T11:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62697#M2426</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/42262"&gt;@John_L_Lehman&lt;/a&gt; could you please share inputs data screenshot.​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amin Patel&lt;BR /&gt;Intelligent Automation Developer&lt;BR /&gt;Emerson&lt;BR /&gt;Pune India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 12:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62697#M2426</guid>
      <dc:creator>AminPatel1</dc:creator>
      <dc:date>2021-01-28T12:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62698#M2427</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8309.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/8484iD8AF9D9B723A8500/image-size/large?v=v2&amp;amp;px=999" role="button" title="8309.png" alt="8309.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8310.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/8487i735303DE3CAA9E45/image-size/large?v=v2&amp;amp;px=999" role="button" title="8310.png" alt="8310.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8311.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/8488i50ED4C40E3991684/image-size/large?v=v2&amp;amp;px=999" role="button" title="8311.png" alt="8311.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John L. Lehman&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 12:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62698#M2427</guid>
      <dc:creator>John_L_Lehman</dc:creator>
      <dc:date>2021-01-28T12:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62699#M2428</link>
      <description>Try setting the content-type to application/octet-stream when sending the Single File in the request. There is also a sample implementation of the same here &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-computer-vision-api-v30-preview" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-computer-vision-api-v30-preview&lt;/A&gt; . This url is for version 3 of Azure Form Recognizer&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62699#M2428</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2021-02-01T15:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Azure Form Recognizer Analyze Form - PDF</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62700#M2429</link>
      <description>Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/42262"&gt;@John_L_Lehman&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;PFB parameters datatype required in Analyze Form request -&lt;BR /&gt;
&lt;H2&gt;&lt;A name="_Toc39673302" target="_blank"&gt;&lt;/A&gt;1.1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;Analyze Form&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;Analyze Form extracts key-value pairs, tables, and semantic values from a given document (resultId) for use with the "Get Analyze Form Result" action. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or 'image/tiff'. Alternatively, use 'application/json' type to specify the Url location of the document to be analyzed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note: When configuring source (media type), please note the default value is application/json; you will need to specify the Url location of the document to be analysed. All other media types need to the raw image binary of the file type.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;1.1.1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;Request&lt;/SPAN&gt;&lt;/H3&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;&lt;STRONG&gt;Parameter&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="83"&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;STRONG&gt;Direction &lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;TD width="75"&gt;
&lt;P&gt;&lt;STRONG&gt;Data Type&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="380"&gt;
&lt;P&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;modelId&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="83"&gt;
&lt;P&gt;In&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="75"&gt;
&lt;P&gt;Text&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="380"&gt;
&lt;P&gt;String Format - uuid. Model identifier&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;includeTextDetails&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="83"&gt;
&lt;P&gt;In&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="75"&gt;
&lt;P&gt;boolean&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="380"&gt;
&lt;P&gt;Include text lines and element references in the result. Default: false.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;ContentType&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="83"&gt;
&lt;P&gt;In&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="75"&gt;
&lt;P&gt;Text&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="380"&gt;
&lt;P&gt;Media type of the body sent to the API. Default: application/json&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;source&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="83"&gt;
&lt;P&gt;In&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="75"&gt;
&lt;P&gt;Text&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="380"&gt;
&lt;P&gt;Request body - .json, .pdf, .jpg, .png or .tiff type file stream.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;Change datatype for includeTextDetails from text to boolean in your API request.&lt;BR /&gt;Let me know if this works.&lt;/SPAN&gt;&lt;/P&gt;
&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amin Patel&lt;BR /&gt;Intelligent Automation Developer&lt;BR /&gt;Emerson&lt;BR /&gt;Pune India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Feb 2021 11:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Azure-Form-Recognizer-Analyze-Form-PDF/m-p/62700#M2429</guid>
      <dc:creator>AminPatel1</dc:creator>
      <dc:date>2021-02-05T11:01:00Z</dc:date>
    </item>
  </channel>
</rss>

