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 / Create / save record t...
Power Apps
Unanswered

Create / save record to CDS

(0) ShareShare
ReportReport
Posted on by 294

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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard