Hi guys,
I'm struggling to finish this function in PowerApps and I need your help. Basically, when I use the scan function for Inventory Management app, if the code exists in SharePoint List, it will be navigated to the Product Details page. If not, it will show a new EditForm for users to add a new product. Here is the screenshot of the Homepage, the function to show the existing product works well, however for the nonexisting product, I don't know how to navigate that.
Home screen
Here is my OnScan function: Set(TheRecord, LookUp('Capella Asset Management', Barcode = BarcodeScanner4.Value)); Navigate(product_details, ScreenTransition.Cover)
Thanks!