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 / Import function to dis...
Power Apps
Unanswered

Import function to display user input data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everybody, I am currently working on Inventory PowerApp.

My current progress (have done the export function

aaaa3_0-1674191872563.png

 

Export codes

 

Set(varExportCSV, "");
ForAll(
gallery_inventory_4.AllItems,
Collect(
colExportCSV,
{
DeviceName: inventoryLabel_title.Text,
Memory: inventoryLabel_memory.Text,
Storage: inventoryLabel_storage.Text,
SerialNumber: inventoryLabel_serialNumber.Text,
CurrentUser: inventoryLabel_currentUser.Text,
Location: inventoryLabel_location.Text,
LoanStart: inventoryLabel_dateIssued.Text,
LoanEnd: inventoryLabel_dateEnd.Text,
LoanStatus: inventoryLabel_loanStatus.Text,
PreviousUser: inventoryLabel_previousUser.Text
}
)
);
Set(
varExportCSV,
"Serial Number, Device Name, Memory, Storage, Current User, Previous User, Location, Loan Status, Loan Start, Loan End"
& Char(10) & Concat(
colExportCSV,
SerialNumber & ","
& DeviceName & ","
& Memory & ","
& Storage & ","
& CurrentUser & ","
& PreviousUser & ","
& Location & ","
& LoanStatus & ","
& LoanStart & ","
& LoanEnd & Char(10)
)
);
ExportCSV.Run("CSVFile", varExportCSV);
Set(varSuccess, ExportCSV.Run("CSVFile", varExportCSV).completed);
Clear(colExportCSV);
If(
varSuccess = "true",
Notify("CSV file created. Check your OneDrive to view the file.", Success)
);

 

 

Currently, now the App only have export function.  My role now is to research and implement to allow users of this App to import their excel to update the list in the App. So the import function using my sharepoint list needs to be built. 

I was told that I was able to reference from the export function to reverse it in order to import excel data. I have difficulty implementing the import function. Can anyone please help me out? Thank you in advance!!

 

Update: I have recently used

https://www.youtube.com/watch?v=P6yqIpjmPrs

 

My collection

 

 

Collect(
colDataImport,
{
DeviceName: inventoryLabel_title.Text,
SerialNumber: inventoryLabel_serialNumber.Text,
DeviceType: inventoryLabel_type.Text,
Memory: inventoryLabel_memory.Text,
Storage: inventoryLabel_storage.Text,
Processor: inventoryLabel_processor.Text,
DesktopImage: inventoryLabel_desktopImage.Text,
DesktopAddon: inventoryLabel_desktopAddOn.Text,
CurrentUser: inventoryLabel_currentUser.Text,
Division: inventoryLabel_division.Text,
Department: inventoryLabel_department.Text,
Location: inventoryLabel_location.Text,
Remarks: inventoryLabel_remarks.Text,
LoanStart: inventoryLabel_dateIssued.Text,
LoanEnd: inventoryLabel_dateEnd.Text,
LoanStatus: inventoryLabel_loanStatus.Text,
PreviousUser: inventoryLabel_previousUser.Text,
Quantity: inventoryLabel_quantity.Text,
UserEmail: inventoryLabel_email.Text,
Modified: inventoryLabel_modified.Text
}
);

 

 

 

Created excel for bulk import

 

 

 

The bulk import button leads to screen where I will paste the excel data above

aaaa3_0-1674788870753.png

 

Then i click on red button and the import button at the right to go back to inventory screen.

View collections

aaaa3_1-1674788889993.png

First row and second row

aaaa3_2-1674788908532.png

 

Now I am facing the issue of updating collection into sharepoint list. Can someone tell me how to update the list?

 

aaaa3_3-1674789168219.png

 

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard