Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

add link on portal page to download a file from OneDrive

(0) ShareShare
ReportReport
Posted on by 34

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

  • SivaR Profile Picture
    SivaR 34 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,058 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

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans