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
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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,437)