web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to show the already attached PDF Document Ref in D365 F&O into Power apps

(0) ShareShare
ReportReport
Posted on by 5

Hi.. I am trying to create new canvas app which should show all the Customer details. I have achieved this by using the existing public customer data entities and using them in the app but I have a requirement to show the already existing PDF attachments of that customer from D365 F&O into the power apps.. Please let me know on how to achieve this.. I believe we can use DocumentManagement::getAttachmentPublicUrl(docuref) to get the public URL but dont know how to use this in power apps to show it in PDF viewer. Kindly help me and provide your valuable suggestions.

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi D365TechUser,

    You would need to have a public data entity or use a web service to interact with the attachments from external applications. This is not available for the customer attachments, so this would require a custom data entity or custom web service.

  • D365TechUser Profile Picture
    5 on at

    Hi Andre, Thanks for suggestion. I have already created one new public custom data entity and created a new method with sysOdataAction but I dont know how to use this method in power apps to get the PDF attachment in power apps.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi D365TechUser,

    Wonder why you need the customer details and the PDF attachment in a PowerApp?

    What do you try to achieve by doing that?

    Can't you simply open D365FO in your webbrowser on your mobile?

    Best regards,

    Ludwig

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi D365TechUser,

    Thanks for the clarification. You can search for similar questions or create a new question on the Power Apps Community

  • D365TechUser Profile Picture
    5 on at

    Hi Ludwig,

    Thanks for you reply. My requirement is to show the customer details in the power apps and if there are any attachments related to that customer in d365 F&O then the same attachment should be viewed in the power apps as well when the customer is selected.

  • Tony zhong Profile Picture
    903 on at

    Hi all,

    I am working on this issue also right now. Is there any solution yet ? As D365TechUser mentioned, we can always get the information from DocuRef. While using X++ function seems not help that much (I maybe mistaken, I'm not too sure), I guess to extend the CustomersAttachmentEntity to include DocuValue to get the BlobStorage info is more effective.

    I'm thinking when we already have all those list of document in the attachment's table, in our Apps will just list it out, so the next question is rather than show it instantly, why not download it to the machine running the Apps, and how to download it ? to show it then is up to the device it self (the phone or tablet)

    While the files are inside Blob Storage, does it means the Apps need to connect to Azure Blob Storage first ? While the Blob Storage is part of D365 package, and while the user who use this Apps is also D365 user, when login to this Apps, does it means it will have access automatically. 

    Sorry to just thinking out loud, I still doesn;t have a clear idea how to solve this issue.

    Any advice would be appreciated.

    Thanks,

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans