Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

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

Posted on by 132
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 132 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,828 Super User 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.
     
     
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans