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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Store data to cds from power apps

(0) ShareShare
ReportReport
Posted on by 642

Hello community experts,

There is an urgent requirement where i should store full name to user entity from text box in power apps

But the problem is since the full name is read only in cds

Please guide on how to achieve the below scenario

I have one text box named txtbox1 in power apps. And two fields named first name and last name in cds.

When i enter any name say "Sumaira N" in txtbox1 , Sumaira should be stored in first name and N should be stored in last name.

How do i achieve this requirement?

Kindly guide

Best Regards,

Sumaira

I have the same question (0)
  • Verified answer
    PowerAddict Profile Picture
    7,314 Most Valuable Professional on at
    Re: Store data to cds from power apps

    Do you know if there will always be two names only, first name and last name? What if someone types in a middle name or what if someone's first name is a combination of two names? 

     

    Assuming it is just two names - one word for first name and another word for last name, you can do something like this: 

    First(Split(TextInput1.Text, " ")).Result
    and
    Last(Split(TextInput1.Text, " ")).Result

    You can use these two values in your Patch function. This can be adjusted and made more robust if there can be more name fields, so let me know. 

     

    Here is a small demo: 

    NameCreator.gif

     

    Let me know if this helps. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Sumaira Profile Picture
    642 on at
    Re: Store data to cds from power apps

    @PowerAddict Many thanks for the help

    Thanks a lot again for such helpful steps

     

  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on at
    Re: Store data to cds from power apps

    Glad I could help! Please feel free to reach out for more questions! Good luck with your app!

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 766 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard