cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Martin_MC
Helper II
Helper II

Is it Possible to Store Text in SharePoint Lookup Field? Lookup Is Apparently Type 'Integer'

TLDR
Is it at all possible to have Flow / Power Automate take text data from a Forms form and store it into a SharePoint field of type 'Lookup', which for some reason seems to be of type integer?


SPECIFICS
Basically I want to use Forms (rather than PowerApps) to create a simple form for raising approval requests. In the forms form the user will select an email address from a dropdown list (which matches the lookup field on the SharePoint list). I have a basic flow as below to transfer the form response to the SharePoint list, but I'm unable to transfer the email address selection to the Sharepoint list and into a field, presumably because it is a lookup field (which I need it to be for later in the flow) with the unique / primary key being the ID, rather than the email address / text itself. 

Does anyone know if this is possible and if there is a workaround or way to translate this information? Or any way to change the unique primary key of the list being looked up to be the email address column?


ERROR MESSAGE
The 'inputs.parameters' of workflow operation 'Create_item_2' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Authorised_x0020_Requestor/Id' is required to be of type 'Integer/int64'. The runtime value '"[CHOSEN EMAIL ADDRESS]"' to be converted doesn't have the expected format 'Integer/int64'.

Martin_MC_0-1622211030240.png

 

 

1 REPLY 1
abm
Super User
Super User

Hi @Martin_MC 

 

You need to get id by using the filter query from the related list.

 

Please see this link below:

Solved: Updating SharePoint Lookup Column with multiple - Power Platform Community (microsoft.com)

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,843)