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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create / save record t...
Power Apps
Unanswered

Create / save record to CDS

(0) ShareShare
ReportReport
Posted on by 265

Hi,

 

I'm newbie here, so forgive me if it is sound too basic. In my PowerApp screen, I have inserted a Edit form which is the data source is from CDS (Lets say the entity name is Orders). And in that form I have added some fields with multiple type such as:

  • Date (usual date control)
  • Order (it's a lookup column, so it has dropdown)
  • Qty (just a text)

However currently I'm lost on how to actually insert this into my database (CDS), are we using Patch ? but how am I get the value for the lookup ?

 

So basically in that Edit Form that I added, each field, especially will have many control under it like :

For Date:

Voltes_0-1626089234886.png

and for the column with dropdown will be:

Voltes_1-1626089300014.png

 

Some confusion is, should I directly insert to CDS, or I should use Collect to have a collection first ? and too make more complex is actually I want to list down as well in the same screen from, what inside of my CDS, so it is listed the existing record and the one that I just inserted.

 

But anyway first thing first, is how to insert it ?

 

Anyone can guide me ? I've seen many Youtube but seems cannot get the right one.

 

Thanks in advance

Categories:
I have the same question (0)
  • JamesYumnam Profile Picture
    on at

    Hi @Voltes 

     

    Please check out these two links, where I have tried to explain the usage of SubmitForm() and Patch(). and best part, the data is in Dataverse(CDS).

    Easy CRUD operations using Custom Gallery and Forms in PowerApps

    Using Patch function to submit data from a Custom Form in Power Apps

     

     

    Hope you find them helpful. 

    Regards,

    James

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard