cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hardy299
Helper III
Helper III

Insert data into a LoocKup field from a flows

Good evening everyone, please, I have a feed that allows me to insert data from my Excel file to my SharePoint site; everything works perfectly; however, I am having trouble populating LookUp type columns at my SP site. Thank you for your help!

 

The capture below represents an extract from my feed and the column that I cannot recover on excel

 

Error message: 

 

The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/EntiteId/Id' is required to be of type 'Integer/int64'. The runtime value '"@{items('Apply_to_each')?['Entite']}"' to be converted doesn't have the expected format 'Integer/int64'.

 

1 REPLY 1
WarrenBelz
Super User
Super User

Hi @Hardy299 ,

That is because you need the Value as well as the ID of the field that is being looked up in the other list, which of course you will not have in your Excel file (only the Value). I can only suggest you replace your Lookup field with Text - I have not used this field type for many years and they are not necessary unless you are using datasheet edit views in SharePoint. I have a blog that my assist. Also if you have access to SharePoint, why are you using Excel? As a database, it makes a good spreadsheet . . .

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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
Top Kudoed Authors
Users online (2,530)