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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to import dependen...
Power Pages
Answered

How to import dependency files in PowerApps Portal

(0) ShareShare
ReportReport
Posted on by 175

Hello 

How can I import dependency files in PowerApps Portal

Example: In my project I have used some JavaScript libraries using CDN links, I want to down this dependencies and import into my PowerApps Portal project

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @Dhananjay_Patil ,

     

    You can easily use CDNs in your web templates. However if you want to store files within the Portal you can use Web Files (see official docs here). One thing that you might encounter is that you cannot upload js files as attachments. There are two ways to allow this issue:

    1. You allow attaching js files as notes. To do so you need to Settings>Administration>System Settings and in General tab remove js from the list of bloked file extensions. Be aware that this will allow any user to attach file with js extension.

    2. You can change extension of your js file to something like .es and upload it to the system. This works if you don't change you file frequently. 

  • Dhananjay_Patil Profile Picture
    175 on at

    Hello @OOlashyn 

    From where I can upload files (JS) files in PowerApps Portal ? I have already remove JS file extension from system settings

    I can only see upload option for CSS.

  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @Dhananjay_Patil ,

     

    Open Portal Management app > Web Files. Create new web file and save it. After that go to Notes tab. There you can attach your js file as a note (that's how Portals store files).

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I do not see an upload button. I pasted the contents of my js file. The error message is 'You exceeded the maximum number of characters.'

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

Last 30 days Overall leaderboard