Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

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

(0) ShareShare
ReportReport
Posted on by 202
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
    202 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
    27,823 Moderator 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,933 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans