
Announcements
Hello All,
I am having this error in my powerapps for patching my dropdown (kindly note that my dropdown is from another sharepoint list). I am not sure if I am having errors in my patch formula or my sharepoint column list, or both. Please help.
Sharepoint Column: Company Name- Should I do choice or vlookup for this instead? My Company Name dropdown in PowerApps is from another sharepoint list I made specifically for Company details.
My patch formula:
Patch('GPRF Testing',Defaults('GPRF Testing'),
{
Title:ReqAli.Text, 'Company Name':{Value:CompanyName.Selected.Value}
}
)
The sharepoint list for Company Code Mapping:
Thanks.
As I understand it.
You have two SharePoint Lists (List 1 and List 2).
List 1 includes a Choice field type called "Company Name".
List 2 also includes a field called Company Name - which I assume is a Single Line Text field.
In your App, you have a Dropdown List which returns the Company Name field from List 2.
You want to Patch the Company Name Choice field in List 1 with the dropdown selection.
.
Given the Company Name field in List 1 should be populated with selections from the dropdown, why make the Company Name field a Choice field, when you can simply make the Company Name field a Single Line Text field and then run your Patch on that field?