Hi, I am trying to create an inventory app, I am new to powerapps and want to learn how to use it effectively. Currently, I have a dropdown with a list I made in the Items section: ["Select One","16G","20G","22G","24G","26G"]. I am trying to use the string selected to a sharepoint list using patch on a submit button. Here is the code for that button.
Patch( 'PowerApps Inventory',Defaults('PowerApps Inventory'),
{
Title: dropGauge.Text
'Heat Number':Value(txtHeatNumber.Text),
'Mill ID': txtMillID.Text,
Weight: Value(txtWeight.Text),
'SKU #': changelabSKU.Text
}
)
Title is where I am trying to export it into a sharepoint list.
Secondly, I am trying to use the string to create a custom string to create a SKU# for that item. But it doesnt seem to work as I thought. Here is the code on the text input "CL" & setGauge.Text & Left(txtHeatNumber.Text,2) & Left(txtMillID.Text,2)
setGauge is a value I tried having be made with the Set() formula anytime the dropdown is selected or changed.
I am would love an explanation as to what I am doing wrong opposed why just getting the write answer.
Thank you for your time,
CR