Notifications
Announcements
No record found.
Hi All,
We have a requirement to read data from saved PDF file in D365 finance and operations. I could not find direct approach as we normally do using Excel/CSV/Text/XML files.
Has someone worked on any custom Dlls that can be referenced in D365 project ?
Can some one please help me with this on how to read data from PDF in D365. I also need to split PDF files based on the retrieved data from file.
Regards
Ana
Hi sir,
Please share more information about your scenario,and what does it mean to split a PDF file based on the data retrieved from the file?
I would look for .NET libraries and then use one from F&O. Therefore you should be interested in threads like Reading PDF documents in .Net. There you'll learn about iTextSharp, for instance.
Hi Martin,
Thanks for your reply. Yes I have searched for .Net libraries and found iTextSharp dll can be used to read data from PDF.
I have added as reference in D365 project. But i am not able to access methods from the class library.
Could you please help what would be the issue?
Could you give us more information about your problem, please? What and how are you trying to access and what happens?
Hi Judy
Need to first read some required data say for example Ref Number from the pdf in D365 FO. The pdf contains many pages based on this required data.
When I am able to read data then I need to split the pdf based on this ref number data.
Hope you understand what is the requirement
I have downloaded iTextSharp dll and added to bin directory in local VM. Then I added this dll as reference to my D365 project.
When I try to access methods from this dll, I try to use the below code in my class but not working
iTextSharp text = new iTextSharp();
or iTextSharp.text = new iTextSharp.text();
I also tried using the namespaces
using iTextSharp.text
using iTextSharp.text.pdf
using iTextSharp.text.parser
I am not sure how to initialize the class and access the methods from it. Can you please help on this?
What do you mean by "not working"? Do you get a compilation error? If so, on which line and what does the error message say?
Also, what exactly did you download?
When I use iTextSharp.text text = new iTextSharp.text(); it gives the compilation error - class iTextSharp.text was not found. Are you missing module reference?
I have downloaded ITextSharp dll from https://www.dllme.com
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 467 Super User 2025 Season 2
Martin Dráb 420 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional