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 / Barcode scanner for sh...
Power Apps
Answered

Barcode scanner for sharepoint list + navigate to editscreen after scanning

(0) ShareShare
ReportReport
Posted on by 7

Hi,

I need an app to register sharepoint list items to follow up leaks during a production process.

I'm able to scan the barcode on the OnScan and patch the date and barcode value in the sharpeoint list item.

however, after scanning i want to move to the EditScreen1 to add more data by choiceboxes (to this same created sharepoint list item) - editscreen is already made by default powera

The formula works fine without the navigate part, but if i want to add a navigate function i'm getting an error on unsuspected characters and i cant for the life of me find out what is wrong or how to fix it.

Any help would be appreciated.

 

 

Patch(

'R2 Leaks'; Defaults('R2 Leaks');

{Datum: Now() + 9/24; Labelnummer: First(BarcodeReader1.Barcodes).Value }

);

 

Navigate(EditScreen1; ScreenTransition.Fade)

Categories:
  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @ManWithThePlan1 ,

    Fundamentally there is nothing wrong with the basic structure and I am not sure why the Navigate would cause an error providing EditScreen1 exists, however what are you trying to do here

    Datum: Now() + 9/24; 

     

  • ManWithThePlan1 Profile Picture
    7 on at

    For some reason my power apps is not in my timezone, so i'm adding 9 hours to have the correct time 🙂

    EditScreen 1 exists, its giving me an error on the semicolon below before navigate.

     

    );
    Navigate(EditScreen1)
  • Verified answer
    WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @ManWithThePlan1 ,

    OK I see it - European syntax has a habit of hiding things from me. You need ;;  

    Patch(
     'R2 Leaks'; Defaults('R2 Leaks');
     {
     Datum: Now() + 9/24; 
     Labelnummer: First(BarcodeReader1.Barcodes).Value 
     }
    );;
    Navigate(
     EditScreen1; 
     ScreenTransition.Fade
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • ManWithThePlan1 Profile Picture
    7 on at

    Thanks warren, you tha man! worked like a charm.

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