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

Community site session details

Session Id : 3vzi1jMzIrjN9V/Wn9yfPh
Power Pages - Power Apps Portals
Answered

Where in the portal is app.bundle.js

Like (0) ShareShare
ReportReport
Posted on 29 Apr 2021 18:39:00 by 126

I am trying to add a download as Excel button to a FetchXML query in the portal.

 

In a normal entity list, you would go to Options > View Actions > Download to add a button. That button is dynamically appended to the entity list web page. I found through my inspector that this happens in a file called "app.bundle-obfuscationcode.js". My thought is that I can copy the download code and have apply it to my custom download button. Unfortunately, the code I see in the inspector has been obsfuscated, meaning it gives me an incredible headache trying to figure out how the "download" is happening.

 

I have three questions:

1. Is it possible to view this app.bundle.js file in its original form?

2. If not, does anyone know how to get to the process (I assume it is a workflow?) that generates the Excel file?

3. If this is a bad idea, does anyone have any suggestions on how to generate an Excel download from the results of my Fetch XML query?

 

Context: I am using the Liquid <fetchxml myQuery> tag on a web page to display entity information. I would like to have a download button on this entity, but my requirements mean I can't use the built in entity list.

I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,347 Most Valuable Professional on 29 Apr 2021 at 20:36:50
    Re: Where in the portal is app.bundle.js

    Hi, I don't think you will have much luck with the original entity list export.. that uses a lot of internal elements that aren't exposed to the end user

    I would give it a go on regular jQuery libraries that exports table to excel, a quick online search here I can see one: https://www.jqueryscript.net/table/Export-Html-Table-To-Excel-Spreadsheet-using-jQuery-table2excel.html

    haven't tried myself but should work fine 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Pages

#1
Jon Unzueta Profile Picture

Jon Unzueta 119 Super User 2025 Season 2

#2
KevinGador Profile Picture

KevinGador 34 Super User 2025 Season 2

#3
SwatiSTW Profile Picture

SwatiSTW 24 Super User 2025 Season 2

Last 30 days Overall leaderboard