microsoft / studentambassadors

This repository is for Microsoft Learn Student Ambassadors.
MIT License
130 stars 47 forks source link

Unable to retrieve the download link for exported Dataverse table when there are no records in the table. #236

Open wenwei-lin opened 1 year ago

wenwei-lin commented 1 year ago

Describe the bug

When attempting to export a Dataverse table that contains no records in Power Apps, the export functionality does not provide a download link for the exported table.

What happened?

In Power Apps, after selecting the option to export a Dataverse table that has no records, the system does not generate a download link for the export file. Consequently, there is no way to access the exported file even if it should be empty.

Here is a table without records: Screenshot 2023-08-05 142621

When I clicked export, the download link didn't show: Screenshot 2023-08-05 142744

But when I added a record, I can download the table: Screenshot 2023-08-05 143028 Screenshot 2023-08-05 143019

What did you expect to happen?

When exporting a Dataverse table in Power Apps that has no records, the system should still generate a download link for the exported file. This allows users to access the file, even if it contains no data, as it can still be useful for documentation or other purposes.

How would you reproduce the bug?

  1. Open Power Apps and navigate Tables Tab
  2. Choose the specific table with no records that you want to export.
  3. Click on the "Export - Export Data" option.
  4. Observe that no download link is provided for the empty export file.

Did this happen via Desktop and/or Smartphone?

Desktop

Operating System

Windows 11

What browsers are you seeing the problem on?

Microsoft Edge

Version

23516.1000

Device

DELL G3

What is your current role?

Student Ambassador

What technical topic is this bug related to?

Low Code/Fusion Development

Relevant log output

No response

github-actions[bot] commented 1 year ago

Thank you for submitting this issue! The team will review your issue, tag with the appropriate tags, and comment with any additional questions on information needed. :sparkles: