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

Extract ID field from Collection

Thinking this should be easy but perhaps I'm overthinking it.

 

I am loading one Share Point list record into a collection based on the user's email. I need to extract the collection ID field into a variable. I tried Set(SelectedID,colName.ID) but SelectedID returns a table and I just need the ID value.

 

I need to reference the ID value later in the app for Patching.

 

Thoughts??

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@luvagoldenk9 
Yes, try a LOOKUP function like this.

Set(SelectedID, LookUp(colName, EmailColumnName=User().Email, ID)) 



---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Super User III
Super User III

@luvagoldenk9 
Yes, try a LOOKUP function like this.

Set(SelectedID, LookUp(colName, EmailColumnName=User().Email, ID)) 



---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Resolver I
Resolver I

Hi @luvagoldenk9 ,

 

Try below reference link, which has already been answered to the same question in the community.

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Collect-specific-columns-in-a-SP-List-in-a-C...

 

 

Regards,

Prakash

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (33,185)