<?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 PDF Acroform in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85640#M36605</link>
    <description>&lt;P&gt;Hi All&lt;BR /&gt;&lt;BR /&gt;i have gone through this below thread and thought of trying from my side&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" title="PDF extraction with checkbox field" target="_blank" rel="noopener"&gt;&lt;/A&gt;&lt;A data-url="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" class="embedly-content" href="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" target="_blank" rel="noopener"&gt;Blue Prism Community&lt;/A&gt;&lt;/P&gt;
&lt;TABLE id="mce_1" contenteditable="false" width="500" height="400" cellpadding="10" style="border: 1px solid #ebebeb; border-left: 8px solid #ebebeb;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="2" style="border: none;"&gt;Blueprism&lt;/TD&gt;
&lt;TD align="right" style="border: none;text-align:right;"&gt;&lt;SPAN class="remove-embedded-content" style="cursor: pointer;"&gt;remove preview&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="3" style="border: none;"&gt;
&lt;TABLE style="border: none;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29006.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29136iEF5BC1F6001BD65F/image-size/large?v=v2&amp;amp;px=999" role="button" title="29006.png" alt="29006.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD style="border: none;"&gt;
&lt;TABLE style="border: none;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;Blue Prism Community&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;Hi All,Can you assist me in finding a solution to extract data from a PDF without relying on external applications, as my organization requires the use of only&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;
&lt;DIV&gt;&lt;A target="_blank" href="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" style="text-decoration:none;color:cadetblue" rel="noopener"&gt; View this on Blueprism &amp;gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;i found some thing related in UiPath forum, the same solution i was able to implement in UiPath and extract the values of check box&lt;BR /&gt;&lt;BR /&gt;But i was not able to do in Blue Prism, can any one check and assist so that it may be useful for others as well&lt;BR /&gt;the code i have tried&lt;BR /&gt;not sure of Dll and Namespaces required&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;Dim pdfDocument As New iText.Kernel.Pdf.PdfDocument(New iText.Kernel.Pdf.PdfReader(PdfPath))
Dim form As iText.Forms.PdfAcroForm = iText.Forms.PdfAcroForm.GetAcroForm(pdfDocument, True)
Dim fields As IDictionary(Of String, iText.Forms.Fields.PdfFormField) = form.GetFormFields()
For Each fieldName As String In fields.Keys
    Dim field As iText.Forms.Fields.PdfFormField = fields(fieldName)
    Dim value As String = field.GetValueAsString()
    PdfColl.Rows.Add({fieldName,value})
Next
pdfDocument.Close()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;in UiPath have imported the&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29007.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29134iE60B21631160ABA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="29007.png" alt="29007.png" /&gt;&lt;/span&gt;Sample document attached for reference&lt;BR /&gt;&lt;BR /&gt;If you require any info please let me know&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Lakshmi Narayana&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 29 Apr 2023 06:16:00 GMT</pubDate>
    <dc:creator>plnarayana777</dc:creator>
    <dc:date>2023-04-29T06:16:00Z</dc:date>
    <item>
      <title>PDF Acroform</title>
      <link>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85640#M36605</link>
      <description>&lt;P&gt;Hi All&lt;BR /&gt;&lt;BR /&gt;i have gone through this below thread and thought of trying from my side&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" title="PDF extraction with checkbox field" target="_blank" rel="noopener"&gt;&lt;/A&gt;&lt;A data-url="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" class="embedly-content" href="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" target="_blank" rel="noopener"&gt;Blue Prism Community&lt;/A&gt;&lt;/P&gt;
&lt;TABLE id="mce_1" contenteditable="false" width="500" height="400" cellpadding="10" style="border: 1px solid #ebebeb; border-left: 8px solid #ebebeb;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="2" style="border: none;"&gt;Blueprism&lt;/TD&gt;
&lt;TD align="right" style="border: none;text-align:right;"&gt;&lt;SPAN class="remove-embedded-content" style="cursor: pointer;"&gt;remove preview&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="3" style="border: none;"&gt;
&lt;TABLE style="border: none;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29006.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29136iEF5BC1F6001BD65F/image-size/large?v=v2&amp;amp;px=999" role="button" title="29006.png" alt="29006.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD style="border: none;"&gt;
&lt;TABLE style="border: none;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;Blue Prism Community&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;Hi All,Can you assist me in finding a solution to extract data from a PDF without relying on external applications, as my organization requires the use of only&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border: none;"&gt;
&lt;DIV&gt;&lt;A target="_blank" href="https://community.blueprism.com/discussion/pdf-extraction-with-checkbox-field" style="text-decoration:none;color:cadetblue" rel="noopener"&gt; View this on Blueprism &amp;gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;i found some thing related in UiPath forum, the same solution i was able to implement in UiPath and extract the values of check box&lt;BR /&gt;&lt;BR /&gt;But i was not able to do in Blue Prism, can any one check and assist so that it may be useful for others as well&lt;BR /&gt;the code i have tried&lt;BR /&gt;not sure of Dll and Namespaces required&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;Dim pdfDocument As New iText.Kernel.Pdf.PdfDocument(New iText.Kernel.Pdf.PdfReader(PdfPath))
Dim form As iText.Forms.PdfAcroForm = iText.Forms.PdfAcroForm.GetAcroForm(pdfDocument, True)
Dim fields As IDictionary(Of String, iText.Forms.Fields.PdfFormField) = form.GetFormFields()
For Each fieldName As String In fields.Keys
    Dim field As iText.Forms.Fields.PdfFormField = fields(fieldName)
    Dim value As String = field.GetValueAsString()
    PdfColl.Rows.Add({fieldName,value})
Next
pdfDocument.Close()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;in UiPath have imported the&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29007.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29134iE60B21631160ABA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="29007.png" alt="29007.png" /&gt;&lt;/span&gt;Sample document attached for reference&lt;BR /&gt;&lt;BR /&gt;If you require any info please let me know&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Lakshmi Narayana&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Apr 2023 06:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85640#M36605</guid>
      <dc:creator>plnarayana777</dc:creator>
      <dc:date>2023-04-29T06:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: PDF Acroform</title>
      <link>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85641#M36606</link>
      <description>&lt;P&gt;Hi Laxmi Narayana,&lt;BR /&gt;&lt;BR /&gt;Below stackoverflow articles will help&amp;nbsp; to code in c#&amp;nbsp; but you might need you use itext sharp dll&lt;/P&gt;
&lt;P&gt;Acroform:&lt;/P&gt;
&lt;P&gt;1)https://stackoverflow.com/questions/31293035/acroform-pdf-to-normal-pdf-in-c-sharp&lt;BR /&gt;2) &lt;A href="https://stackoverflow.com/questions/1942357/how-to-flatten-already-filled-out-pdf-form-using-itextsharp" target="test_blank"&gt;https://stackoverflow.com/questions/1942357/how-to-flatten-already-filled-out-pdf-form-using-itextsharp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can also utilize DX&amp;nbsp; Assets to read data from pdf below are some of the pdf Assets which I feel helpful&amp;nbsp; in your case.&lt;/P&gt;
&lt;P&gt;1) &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism---pdf-toolkit" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism---pdf-toolkit&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2) &lt;A href="https://digitalexchange.blueprism.com/dx/entry/117528/solution/sabancidx---daily-pdf-actions" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/117528/solution/sabancidx---daily-pdf-actions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In order to not use external application the easy way is to make the pdf in to semi structured form( By converting pdf to XML Or HTML and read the data from that) other way is to save the pdf as excel and read the data from excel&lt;/P&gt;
&lt;P&gt;Above Digital exchange assets are handy&amp;nbsp; to read the data from pdf.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;-----------------------&lt;BR /&gt;If I answered your query. Please mark it as the "Best Answer"&lt;BR /&gt;&lt;BR /&gt;Harish M&lt;BR /&gt;Lead developer&lt;BR /&gt;America/New_York TX&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 19:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85641#M36606</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-04-30T19:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: PDF Acroform</title>
      <link>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85642#M36607</link>
      <description>&lt;P&gt;Hi @&lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_0_NameLink_0" biobubblekey="dd002176-2e41-409d-a019-bf18a035a3a7" href="https://community.blueprism.com/network/profile?UserKey=dd002176-2e41-409d-a019-bf18a035a3a7" target="_blank" rel="noopener"&gt;Lakshmi Narayana&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I did same automation 6 month back and its running with 100% accuracy.&lt;BR /&gt;&lt;BR /&gt;You can identify the checkbox using region mode.&lt;BR /&gt;&lt;BR /&gt;Spy Checkbox along with Label like Checkbox Yes , Checkbox No.&lt;BR /&gt;&lt;BR /&gt;Spy any checkbox with tick mark and without tick mark and use wait stage and calculation to set the value true or false.&lt;BR /&gt;&lt;BR /&gt;Region - Position field should be anywhere..&lt;BR /&gt;&lt;BR /&gt;Please let me know if its work&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;ADP&lt;BR /&gt;India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 01 May 2023 20:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/PDF-Acroform/m-p/85642#M36607</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2023-05-01T20:22:00Z</dc:date>
    </item>
  </channel>
</rss>

