web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Convert text value to ...
Power Apps
Unanswered

Convert text value to record

(0) ShareShare
ReportReport
Posted on by 29

Hi,

 

I have to convert the text value to record as I am using patch its throwing error.

 

I am trying to patch these records in sharepoint site as the datatype I used for second name is lookup

 

Can you please help me to fix this issue.

GAbraham_0-1633587851349.png

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    https://www.youtube.com/watch?v=wDKuLeK9N9Q

     

    Start Watching from 6:00

  • Ram Prakash Duraisamy Profile Picture
    5,885 Super User 2026 Season 1 on at

    Hello @GAbraham,

     

    Please find my blog https://microsoftcrmtechie.blogspot.com/2021/09/how-to-patch-choice-field-and-lookup-in.html

     

    this can help you to patch Lookup and Choice Fields.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • WarrenBelz Profile Picture
    156,275 Most Valuable Professional on at

    Hi @GAbraham ,

    The issue you have with Lookup fields (I never use them for good reason, but that is another subject) is that they are a table consisting of the field and the ID of the other list looked up in the data source. You would need something like this

    Patch(
     Test2,
     {Title:DataCardValue15.Selected.Title},
     {
     'Second Name':
     {	 
     Value:Label2.Text,
     Id:
     LookUp(
     YourLookedUpList,
     YourLUField = Label2.Text
     ).ID
     }
     }
    )

     

    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.

     

  • WarrenBelz Profile Picture
    156,275 Most Valuable Professional on at

    Hi @GAbraham ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard