Skip to main content

Notifications

Power Pages - Design & Build
Unanswered

Guide to learn Development in JS for Power Pages

(1) ShareShare
ReportReport
Posted on by

Hello, 

I am new to Power Page and in process of learning new stuff. I saw an "edit in VS Code" option in Power Pages Designer Studio

I experimented with .css file to change the design and with JS as well.

1. If there is a proper guide to learn JS for Power Pages, it would be good if you can recommend some resources and videos?

2. How much JS Capabilities can be used within Power Page? like onclick of the button can we trigger an API Call? 

3. Can we store Data into Dataverse through JS?

  • Talha Manzoor Profile Picture
    Talha Manzoor 4 on at
    Guide to learn Development in JS for Power Pages
    I would suggest you to go to Microsoft learn documents to learn Power pages website
  • Fubar Profile Picture
    Fubar 7,688 on at
    Re: Guide to learn Development in JS for Power Pages

    There is not really a good official guide, but you will find various blogs and videos describing various things from various people.  You can use plain JavaScript but more often than not you will find that people use JQuery (as it is already in the Portal/Site).

     

    Its also not just about JS when you start to look at customizing things, there are also things like Liquid code (liquid runs server side) whereas JS runs Client/browser side.  This link has a brief overview and a few other links to things 

    https://learn.microsoft.com/en-us/power-pages/configure/developer-overview

     

    This link shows how to set a simple field value (but not a complex one like a lookup field), and adding extra validation into the supplied Validator object so your validation looks the same as the out of the box validation) https://learn.microsoft.com/en-us/power-pages/configure/add-custom-javascript

     

    This link adding JS to a List (can also be adapted for a Subgrid) https://learn.microsoft.com/en-us/power-pages/configure/add-custom-javascript-list

     

    Can you update Dataverse via JS - Yes, you would use the Portals Web API

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics