Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Inventory app, Multiple barcodescan upload to SharePoint list

(0) ShareShare
ReportReport
Posted on by

Hi!

I´m creating an Inventory app where the users gonna scan multiple (bulk) serialnumbers and QR Inventory codes.

 

I also have connected a Gallery to the sharepointlist where they can choose some options for the scans like:

Computer model

Customer

Status and so on.

 

I have managed to make a single scan where im scanning serialnumber and Inventory-ID

->SubmitForm(Form1) + NewForm(Form1)

See pictures:

 

This works well.

I have also created a multiple scan page where I want to scan multiple serialnumbers and qr codes where I have the same form with model, customer, status and so on. I then want to upload this bulk to sharepoint online list where they all will be unique objects with a serialnumber and qr inventory code attached with the formsoptions.

 

I have created a gallery so I can scan multiple serial and qr codes without any issues. Its just when i try to upload it will not work.

Can anyone help me out wit this?

 

I have tried two different codes so far without any luck:

1) Patch('Funktions-PC'; {Serienummer: Title2; 'Inventarie-ID': Title4; Inventarietyp: DataCardValue11; Modell: DataCardValue12; Kund: DataCardValue13})

Error: Object must implement IConvertible

 

2) Patch('Funktions-PC'; {Serienummer: Title2; 'Inventarie-ID': Title4 & SubmitForm(Form2) + NewForm(Form2)})

Error: Customer must contain info or something like that. (I have choosen a customer in dropdown)

 

Thx in advance!

  • Community Power Platform Member Profile Picture
    on at
    Re: Inventory app, Multiple barcodescan upload to SharePoint list

    Hi! My app works perfect know, many thanks for your great approach and educational support with this!

    This helped me alot and i´m forever thankfull!

     

    Merry xmas and happy new year @HemantG !!! 🙂

  • Verified answer
    Hemant Gaur Profile Picture
    on at
    Re: Inventory app, Multiple barcodescan upload to SharePoint list

    Here are the steps for saving multiple records from gallery and using the form to set the common fields for the batch - 

    1. Create a new form in the screen to get the user values for the common fields in the multi scan batch.
    2. Add a condition to show this form only when there are scanned values in the gallery
    3. Added a clear button to clear the gallery data
    4. For the bulk submit button iterate over the records in gallery and create the data record to be saved using the form fields too

    ForAll(

        collectMultiScan,

        Patch(

            Inventory,

            Defaults(Inventory),

            {

                Title: DataCardValue11.Text,

                Type1: DataCardValue12.Selected,

                Model1: DataCardValue13.Selected,

                SerialNumber: ThisRecord.BarcodeInfo

            }

        )

    )

    5. Verify that the records are created in the target list

     

    Attached gif has the demo .

     

    thanks,

    Hemant 

  • Community Power Platform Member Profile Picture
    on at
    Re: Inventory app, Multiple barcodescan upload to SharePoint list

    Hi! 

    I have sent you an email with info and the app.

     

    Thx for taking time!

  • Hemant Gaur Profile Picture
    on at
    Re: Inventory app, Multiple barcodescan upload to SharePoint list

    Would it be possible for you to share the complete app , I can try to repro and understand whats the gap here ? 

     

    You can send me an email if a quick meeting will be helpful .

     

    hemant 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 52 Super User 2025 Season 1

Overall leaderboard