cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous 

 

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 blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,618)