Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to Display the Files from Docuview form on screen through button click

Posted on by 154
Hi,
I have a grid in all shipments, which contains shipment id and has item id in the lines associated with the shipment id. 
I want to display the files attached in Docuview form on the screen for that item id through a button click.  Also need to print the multiple files attached  in Docuview form for that item id. 
Can you please help me with the correct approach? 
  • RSX Profile Picture
    RSX 154 on at
    How to Display the Files from Docuview form on screen through button click
    Hi
    I have debugged and found the URL for the attached files, I want to pass the URL in a str and open it in a new browser. 
    How can I store an URL and open that URL in a new browser tab?
  • Suggested answer
    GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 on at
    How to Display the Files from Docuview form on screen through button click
    Hi RSX,
     
    You can refer to standard Knowledge articles form.
    Common >> Common >> Document management.
    Click new on the action pane and select Type as file >> Upload some sample file.
     
     
    Click on upload - It will upload the file.
    Now clicking on "Open file" button will download the file.
     
    You can refer to Open file button clicked method code.
     
    Thanks,
    Girish S.
     
     
     
     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans