cancel
Showing results for 
Search instead for 
Did you mean: 

Allow sample data for DataSet component in harness (pcf-start)

I want harness page to load the sample data from JSON files so that I can simulate the dataset component using data downloaded from Dynamics Web API. JSON files can be placed under pcf-script.


Expected result is attached.

 

 

Status: Completed

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/debugging-custom-controls#t...

 

For dataset type components, you can load a CSV file with test data. You manually create or export in .csv format directly from your environment.

 

 

Comments

I like the idea as well, a few more options to use real datasets.  preferably with less coding (eg. point it to a CDS or D365 datasource, pick an entity or provide a fetch query)... i know thats a bit of an ask.

Power Apps

Great idea! We are working on adding mock dataset data support in the harness.

Power Apps
Status changed to: Started
 
Power Apps
Status changed to: Completed

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/debugging-custom-controls#t...

 

For dataset type components, you can load a CSV file with test data. You manually create or export in .csv format directly from your environment.