
Announcements
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:
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:
and for the column with dropdown will be:
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
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