Recently I was working on a CustomPage and came across the need to be more flexible in fetching data from Dataverse.I needed to call complex fetchXmls and CustomAPIs. For this blog I’ll talk only about fetching data, but my solution works also for calling CustomAPIs.
I love the “Way 2” – using the new dynamic output property, since the implementation inside the CustomPage gets really easy, clean and less error prone. I can imagine using it also to call CustomAPI requests (a small problem is that the “webAPI.execute” method is still not documented for PCFs, but it works).