[SOLVED] How Do You Hard Code A Choice Field for a Patch Statement (Dataverse)
I have tried the various commented out techniques (the necessary comma after the "Today() + 10" is left off to turn off the errors. Any assistance on making this work will be greatly appreciated. This patch is happening in the background, meaning, the user does not get to select a 'touch_type' (which is a Choice field) for this particular procedure.
Patch(
pudo_touches,
Defaults(pudo_touches),
{
acct_id: varAcctId,
carrier_id: varCarrierId,
touch_datetime: Now(),
contact_touched: varContact,
tickle_date: Today() + 10
//touch_type: {Value: "Email", '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"} // Found Record
//touch_type: lookup
//touch_type: Distinct(Filter(pudo_touches, !IsBlank(touch_type)), "Email"). //Found Table
//touch_type: {Value: 11}. //Found Record
//touch_type: "Email". //Found Text
}
);
2
2 comments
Eric Gamble
5
[SOLVED] How Do You Hard Code A Choice Field for a Patch Statement (Dataverse)
Learn Power Apps
Public group
A community of people who are enthusiastic about and trying to learn about Microsoft's Power Apps!
Leaderboard (30-day)
powered by