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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

display iframe with pdf document localized in hard disk

(0) ShareShare
ReportReport
Posted on by 179

hi everyone

i have question : i have a pdf document in my C:/ , i want to display it in the crm form.

when i  put url in src attribut , it works  but when i put the phisical path  the pdf docmuent was not dispayed in the body form.

this is the webressource called from Iframe: 

<html><head><meta><meta><meta><meta><meta><meta><meta><meta><meta></head><body style="word-wrap: break-word;">

<form enctype="multipart/form-data" name="mon_form" method="post" action="upload">
<input type="file" name="upload_fichier">
</form>

<iframe src="research.google.com/.../44678.pdf" width="800" align="middle" height="600"></iframe> ( OK)

// <iframe src="C:\file\test.pdf" width="800" align="middle" height="600"></iframe> ( KO)

</body></html>

thank you in advance.

Regards

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Flydancer Profile Picture
    1,332 on at

    When you say 'physical path' I assume you mean on the 'client side'.

    If this is the case you can try using "file:///C:/test.pdf" in the iframe src. It will depend on the browser/plugin/settings if this will work or not, since the file:/// prefix tends to throw security warnings for some people.

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    Common strategy for this requirements is to make the entity as activity. Then the pdf we attached as an annotation that have attachment. Your requirements is to expensive because you need to sent the file to the user local drive, and need to setting the browser (install adobe/something) to display in the IFrame.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans