Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Suggested answer

Display PDF document on form or pop up preview

Posted on by 35

Is there a way to display a pdf document on model driven app form? Or a way to open a note to preview not a download?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Display PDF document on form or pop up preview

    Hi Anna0326 ,

    Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful.

     pastedimage1646010115558v1.png

    Thanks in advance!:)

  • Anna0326 Profile Picture
    Anna0326 35 on at
    RE: Display PDF document on form or pop up preview

    Thank you, I will try that.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Display PDF document on form or pop up preview

    Hi Anna0326,

    I believe you will have to build the PCF control in order to achieve your requirement. You can find similar control here:

    Attachment Gallery | PCF Gallery 

    This is sample PCF control that shows images and pdf from attached notes and also can show note title and note text.

    1.Download and import it as solution:

    pastedimage1645582399780v1.png

    2.Go to Settings > Customizations > Customize the system > Entities > Forms to open one form you need, add one Single Line of Text field and bind the control:

    pastedimage1645582504095v2.png

    Result:

    pastedimage1645582676481v3.png

    pastedimage1645582718133v4.png

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans