<description>&lt;p class="p1"&gt;15 years too late but it's finally here: server-side logic in Power Pages.&lt;/p&gt; &lt;p class="p1"&gt;What does it change in practice?&lt;/p&gt; &lt;ul&gt; &lt;li class="p1"&gt;Unlike Azure Functions, it's just another Power Pages asset that can be added to Power Platform ALM.&lt;/li&gt; &lt;li class="p1"&gt;Perfect for anything that is logic-lite/secret-heavy. Think &lt;span class="s1"&gt;payments and integrations that need secrets.&lt;/span&gt; Server-side logic avoids awkward workarounds using plugins, Power Automate, etc. just to keep keys safe.&lt;/li&gt; &lt;li class="p1"&gt;Re-use your Javascript skills though it's not lift-n-shift from the client-side exercise. Just couple new objects to learn: &lt;span class="s1"&gt;HTTP client&lt;/span&gt; for external calls and a &lt;span class="s1"&gt;Dataverse object&lt;/span&gt; for CRUD operations.&lt;/li&gt; &lt;li class="p1"&gt;There are plenty of scenarios where client-side Web API is better, like interaction with external services requiring callbacks, for example.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;As Nick succulently summed it up:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;It doesn't make anything possible we couldn't do before. It just makes doing a lot of things we did do before a lot easier.&lt;/p&gt; &lt;/blockquote&gt; &lt;h2&gt;References&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;&lt;a href= "https://learn.microsoft.com/en-us/power-pages/configure/server-logic-overview"&gt; Power Pages server logic overview (preview) | Microsoft Learn&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Get in touch&lt;/h2&gt; &lt;ul&gt; &lt;li style="list-style-type: none;"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="mailto:voice@crm.audio" rel= "noopener noreferrer nofollow"&gt;voice@crm.audio&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Nick Hayduk &lt;a href= "https://twitter.com/Engineered_Code"&gt;@Engineered_Code&lt;/a&gt;&lt;/li&gt; &lt;li&gt;George Doubinski &lt;a href= "https://twitter.com/georgedude"&gt;@georgedude&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt;</description>

CRM Audio

George Doubinski

Hide your dirty laundry on the server-side

JAN 22, 202627 MIN
CRM Audio

Hide your dirty laundry on the server-side

JAN 22, 202627 MIN

Description

15 years too late but it's finally here: server-side logic in Power Pages. What does it change in practice? Unlike Azure Functions, it's just another Power Pages asset that can be added to Power Platform ALM. Perfect for anything that is logic-lite/secret-heavy. Think payments and integrations that need secrets. Server-side logic avoids awkward workarounds using plugins, Power Automate, etc. just to keep keys safe. Re-use your Javascript skills though it's not lift-n-shift from the client-side exercise. Just couple new objects to learn: HTTP client for external calls and a Dataverse object for CRUD operations. There are plenty of scenarios where client-side Web API is better, like interaction with external services requiring callbacks, for example. As Nick succulently summed it up: It doesn't make anything possible we couldn't do before. It just makes doing a lot of things we did do before a lot easier. References Power Pages server logic overview (preview) | Microsoft Learn Get in touch [email protected] Nick Hayduk @Engineered_Code George Doubinski @georgedude