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 Apps / FetchXML call from cus...
Power Apps
Unanswered

FetchXML call from custom page

(1) ShareShare
ReportReport
Posted on by 122

I have a table that I need to aggregate across a number of relationships.  FetchXml gets me there very quickly.  Is there an established way for me to leverage this FetchXml call from my custom page in Dataverse? 

 

I found this interesting post on making a PCF component to do it, but it doesn't seem to support the parameters for the FetchXml changing based on input from the screen. Call FetchXml Inside Custom Pages Without Flows – The PCF Way - Power Community

I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at

    Hi @mhomol 

     

    I am not 100% what you are doing with the data, but you could use a Flow, call it from the Canvas App or Modeldriven App and call your Fetch XML there.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • ivan_apps Profile Picture
    2,189 Moderator on at

    Custom pages can call power automate instant flows, it’s quite performant too if you’re worried about the user experience. Think of it like a web service call that you are doing and Power Automate is your backend service.

    you can pass in parameters from your app as a JSON object or have a parameter for each input, Power automate can then parse the JSON or read each individual input, retrieve the data you need and format it in another JSON response or several outputs. You app then continues with your tasks after reading the outputs. 

    FetchXML is an option on the Dataverse List Rows action so you can pre-format it and simply plug in your inputs to the XML.
    Try it out if you can, I would say it’s more maintainable than a PCF control unless you’re a pro dev that can make updates on the control as you need to.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 556

#2
WarrenBelz Profile Picture

WarrenBelz 412 Most Valuable Professional

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard