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 :
Customer experience | Sales, Customer Insights,...
Unanswered

How to set Lookup Field Value in D365 Sales from dropdown Menu using Canvas App

(1) ShareShare
ReportReport
Posted on by 35

Hi Community , 

In my D365 Project ,

I have a Meeting entity edit form and I want to set Regarding (Lookup Field) value on my submit button using Canvas App.

Here I attached screenshot for reference.

pastedimage1657018720033v1.png

How Can I set Regarding lookup field value in D365 Sales from dropdown menu of Canvas App once I click on Submit button.?

pastedimage1657018916333v2.png

Anyone can Help?

I have the same question (0)
  • Kalp Shah Profile Picture
    35 on at

    If you want to send data in CRM you want to use patch function. Here I mention the patch function code please use it.

    In my case I have to send Meeting data and update in CRM record using patch function.

    Patch(Meetings, Defaults(Meetings),{Regarding: LookUp(Contacts, Contact = GUID(Dropdown2.Selected.Contact))} , {Subject: DataCardValue4.Text} , {'Start Time': DateValue3.SelectedDate + Time(Value(HourValue3.Selected.Value),Value(MinuteValue3.Selected.Value),"0")} , {'End Time': DateValue4.SelectedDate} , {IsDraft: DataCardValue8.SelectedItems},{Location:DataCardValue5.Text});

    It's work properly.

    Thanks

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans