web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Add Download button in...
Power Pages
Unanswered

Add Download button into page template

(0) ShareShare
ReportReport
Posted on by 214

Hello community,

 

I wish to add a download button into my own page-template.
I know the way with entity list; that's fine and works.


But there are some special requirements in list, which only can be done with an special page template.

And now such a download button with its functionality is needed.

 

Thanks,

AndKan

 

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @AndKanPA , 

     

       One of the way I used in my project is once you add your entity form in the web page. 

     

    In portal studio: 

    1. Click on the source code Editor part at the bottom

    2.  Add a column from components if you like 

    3. Add the button control html tag like below 

     

     <div class="col-md-12 columnBlockLayout" style="display: flex; flex-direction: column; width: 15%;"><button onclick="document.location='~/Admin'" style="background-color: #008CBA; font-size: 16px; color: black;">Download</button></div>

     

    This will add download button in the bottom of the page. If you prefer you can use the same code in your template and make it as default. 

     

    Hope it helps. 

    ------------

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    @AndKanPA check if this helps: http://oliverrodrigues365.com/2018/04/25/dynamics-365-portals-exporting-content/

     

  • AndKanPA Profile Picture
    214 on at

    Hello @OliverRodrigues ,

    nice way to create a print view (which I solve with css media type print).

    Default way with Grid Configuration add a “Download” action , I cant use in with my web template 😞

     

    Thank you,

    AndKan.

  • AndKanPA Profile Picture
    214 on at

    Hello @ragavanrajan ,

    that's a way to add a simple button without functionality, because document.location='~/Admin returns only "Page not found", because I dont have an "Admin" page.

    That's clear so far.

     

    I need an information how to start the download. A button WITH download function.

    Just like the grid-action-download-button, but inserted in my own template.

     

    Thanks,

    AndKan.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard