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 / Import JS moduls and f...
Power Pages
Unanswered

Import JS moduls and functions (no library)

(0) ShareShare
ReportReport
Posted on by 10

I have an application completely with custom code in Power Pages. I currently have this structure:

Site/

├── Page.html

├── Page.css

├── Page.js

Where the JS file with about 5000 lines and I would like to simplify it a little bit by making other files and import from there into Page.js the functions, like for example:

├── Page.html

├── Page.css

├── Page.js

├── Utils.js
├── NewChat.js
├── Api.js

This would help me to make the code more clear and maintainable.

Is it possible to do that? How?

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
sannavajjala87 Profile Picture

sannavajjala87 42 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 33

#3
11manish Profile Picture

11manish 20

Last 30 days Overall leaderboard