When 'Request Quote' is pressed, I want all the info from the text boxes to be sent to Dynamics 365 and for a lead entity to be created and filled out with all info.
For other data sources, we usually do SubmitForm
. But for CDS we have to use PATCH
function.
Patch(
"CDSEntityDataSource",
Defaults(CDSEntityDataSource),
{
Column1:DataCardValue1.Text,
Column2:DataCardValue2.Text,
...
}
)