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.
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.
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.
Great idea! We are working on adding mock dataset data support in the harness.