We are happy to announce the new server logic feature in Power Pages to execute business logic securely on the server to build connected, compliant, and intelligent web experiences.
Forget the days of jumping through hoops to call external APIs, orchestrate complex actions or securely handle sensitive tasks. Server logic places real power behind your pages
Why Server Logic?
Modern websites do more than display content. Customers expect transactions, workflows, decisions and trusted data flows. Server logic turns Power Pages into a backend-enabled experience.
With server logic, makers can:
Connect to external services like ERP, CRM or banking systems
Run business workflows without exposing secrets in front-end code
Validate inputs and manipulate data on the server
Trigger actions based on site visitor interactions
Keep sensitive operations secure and compliant
How It Works
Server logic executes securely within the Power Pages infrastructure. Makers can author logic using JavaScript that run on the server-side whenever a page needs intelligence beyond what is available on the browser.
Key building blocks:
Server scripts: Write logic to call APIs, transform data, run workflows or reuse platform connections and policies.
Server objects: Use built-in modules that give you safe access to HTTP calls, Dataverse operations and more.
Event triggers: Invoke logic based on form submissions, button clicks or programmatic calls from client side.
Refer the Server logic documentation and quick starts for more details.
Secure External Integrations
Calling external services has always been high stakes: secrets, authentication, network policies. Server logic makes it straightforward and safe.
Examples:
Fetch loyalty points from a third-party rewards system
Validate user identity with government or industry standard verification APIs
Send loan application information to an internal banking engine
Push form submissions into a custom Azure service
Video demonstrating payment integration
On the road to General Availability
We are continuously expanding server logic feature. Enhancements planned ahead of GA include:
• Support for unbound Dataverse custom APIs• Availability in sites running on Standard Data Model • Invocation from Liquid objects
• Ability to retrieve real time data from Dataverse• Server Logic playground with debugging support
We are looking forward to your feedback
Your feedback is crucial in shaping the future of this feature. We want to hear from you!
The post Introducing Server logic in Power Pages: Business Logic Right Where It Belongs (Preview) appeared first on Microsoft Power Platform Blog.
Source: Microsoft Power Platform
