Skip to main content

Notifications

Announcements

No record found.

Customer Service forum
Suggested answer

add link on portal page to download a file from OneDrive

Posted on by 459

Hi,

I am trying to add a link on the Portal page to download a file from OneDrive, 

I have a default report template in OneDrive. When a user clicks on a button or link on the Portal page, it runs a flow to populate data in the report template, save it as currentDate_siteLocation.xlsx and download the report for the portal user. 

i tried to open the file from OneDrive. A link for the file includes sourcedoc parameter with a different value each time when a new file is created. therefore, i won't be able to hard code the URL  as "URL for OneDrive + "filename""

pastedimage1624308876772v1.png

Any suggestion on how this can be done?

Thank you,

Siva

Categories:
  • SivaR Profile Picture
    SivaR 459 on at
    RE: add link on portal page to download a file from OneDrive

    Ok, i will post and see. thank you, Ranjinie

  • Suggested answer
    Nya Profile Picture
    Nya 29,054 on at
    RE: add link on portal page to download a file from OneDrive

    Hi Siva,

    It is recommended to post your issue to the forum of OneDrive for more help.
    Here is the link:
    OneDrive for Business - Microsoft Tech Community

    Best Regards,
    Nya

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

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

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans