| Muhammad Mustafa Usmani

Sometimes in Power Portals we need to work with data differently that sometimes might not be catered by its solutions or components. And there are some ways through which you can do a lot of stuff with the data you are working with, lets step-by-step see what are those ways that I came across of using in order to work with different sorts of data in Power Portals.

Through Liquid Template Language

By using FetchXML Query in our Power Portals App, we can get all the data we need and can perform various liquid operations on the data like Iterations, Variables, and many more.

Custom Ways To Use Data In Power Portals 1

Like in the example above, I have used liquids for loop and control flow conditions directly on the data that I got from my FetchXML query.

Through JavaScript

Power Portals provides us with full access of using JavaScript; whether it is inline or separate. Although we cannot fetch data directly through JS but after fetching our data through FetchXML, we can work with the data however we want to. Once we have transitioned our data in JS variables, arrays or objects, we can perform any sort of complex operations on them.

Custom Ways To Use Data In Power Portals 2

In the example above, after fetching the required data I am using JS arrays to store data in an object manner and afterward using these arrays for further operations.

Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.

About The Blog

Stay updated with what is happening in the Microsoft Business Applications world and initiatives Imperium is taking to ease digital transformation for customers.

More About Us

We provide guidance and strategic oversight to C-Suite and IT Directors for on-going implementations. Feel free to give us a call.

1 331 250 27 17
Send A Message

Ready to Start?

Get a personalized consultation for your project.

Book a Meeting