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 / How to use a single co...
Power Apps
Answered

How to use a single column dataset for a PCF component in test workbench?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to use a single column dataset for testing of my PCF component, for which I have created a CSV file to implement. But while importing the file I am getting an error saying Failed to parse the CSV(screenshot attached for the reference) please let me know any workaround for the issue.

 

Thanking in advance.

Screenshot 2023-03-06 104754.png
I have the same question (0)
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Anonymous , 

    Is the CSV fiel you've created a valid CSV generated by exporting the data using the Excel export?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @DianaBirkelbach ,

     

    I have created the csv file from scratch using excel, as it is a  single column csv, so there is no ',' in the file. 

     

    Regards,

    Tejeswar

  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Anonymous , 
    I think you need to export the data; the export CSV contains not only data but also column definitions,
    Maybe this blog will help: https://365lyf.com/how-to-use-mock-up-data-in-pcf-cli-july-update-2019/

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @DianaBirkelbach ,

     

    Here in the blog post, it has shown how to create mock dataset from the table data, but if I want to use another dataset which is present in CSV format, that is not explained. But I can find a way around to my issue, I can create a table and load the data and export it, in this way it could work.

    But if there is any direct solution available I'd love to know.

     

    Regards,

    Tejeswar

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 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard