cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KimB
Level: Powered On

PCF vs. WebResource

Hi

 

we have a requirement at a customer for which I assume we would need some custom WebResource or a PCF if possible. The requirement is as  follows:

A user has to be able to create a report by entering for which Work Order he wants to run a report and for which timeframe (a week mostly). Next, the form should display time entries, expenses and installed machines during that period. The user shows this information to the customer and they agree upon the work delivered. On that form they fill out the remarks and the customer signs off digitally. All of this information should be stored once the report is approved or disapproved.

 

We would solve as follows:

- user adds a report and a report form opens

- when specifying the workorder (s)he clicks save

- a webresource or pcf control is displaying the data from other entities (msdyn_expense, ...)

 

I dont see value in preparing the data (and already storing on a report for which you dont know it will be finalized). Also, I could be able to generate it on the fly using RetrieveMultiple plugins, but I'm not really into that idea since they run for each query, also outside that report. Setting fetchxml with client side script would be unsupported. Virtual entities is possibly not useful since it would display data from the same instance and has to work mobile?

 

The option I think would be most suitable, is a custom WebResource which fetches the data on the fly via Web API. I was wondering the same could be done with a PCF control. The PCF control could be fetching the data based on input parameters for the query, and would be reusable for all grids. But since PCF controls need to be bound to a dataset, I doubt if this could be an option. There isn't an actual dataset until the report is being finalized.

 

Something custom would also allow us to show other data on the report that cannot be easily displayed using OOTB components/data retrieval.

 

Is using PCF an option or are there other options available that we didn't think of yet?

 

Kind regards

 

Kim

1 ACCEPTED SOLUTION

Accepted Solutions
vigneshR
Level: Powered On

Re: PCF vs. WebResource

Hi Kim,

I would prefer to go with the WebResource for now as per your requirement as you are not aware of the actual dataset until the report is being finalized.

PCF is not a replacement for your WebResource , It is still in public preview as of now.  

Please Feel free to mark the answer as verified if it is useful

Regards,

Vignesh.R

 

 

1 REPLY 1
vigneshR
Level: Powered On

Re: PCF vs. WebResource

Hi Kim,

I would prefer to go with the WebResource for now as per your requirement as you are not aware of the actual dataset until the report is being finalized.

PCF is not a replacement for your WebResource , It is still in public preview as of now.  

Please Feel free to mark the answer as verified if it is useful

Regards,

Vignesh.R

 

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 499 members 6,035 guests
Please welcome our newest community members: