cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VxChemical
Helper I
Helper I

Updatefile properties with info from lookup column

Hello Powerapp'ers (again 🙂 )

 

I have created an app that uploads are file to a sharepoint document library, and that part works as it should.

 

However I would like it to tag et with meta data. I want it to update a column called addresses which is a lookup column.

 

VxChemical_0-1651578680449.png

VxChemical_1-1651578749667.png

Error is called Function Run has some invalid arguments.

 

Thanks for any assistance provided.

5 REPLIES 5
uwenagel
Resolver II
Resolver II

Are you sure that you are sending the ID to the flow?

Well the file upload works without attaching the meta data.

 

I am not sure what you mean

uwenagel
Resolver II
Resolver II

From the screenshot I assume that you have to enter the Address Id. So you have to pass an ID to the flow and for instance not the address itself.

 

Sometimes the flow also has problems with the parameter type. From my experience only strings are handled smoothly.

VxChemical
Helper I
Helper I

I am not sure how i would go about building it with a string? any good pointers or tips?

uwenagel
Resolver II
Resolver II

You could wrap the ID in a Text() function to be sure.

 

But even without that, are you able to check what was sent to the flow? For instance you could enter a 'Initialize Variable' Action right after the trigger of the flow and set the value to the value passed from PowerApps. Then when you check the latest execution you would see whether a valid value is really sent. 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,354)