Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

update LookUp Field in Dynamics 365

I am Building a Powerapp for a Customer. The entity from dynamics 365 I want to update is Accounts. There are three screens named BrowseScreen, DetailScreen, and EditScreen. BrowseScreen shows the accounts list, and when you select an account it navigates you to DetailScreen.
DetailScreen shows data fields details about that selected account and if you want to edit that account there is an edit button on the DetailScreen which will navigate you to EditForm from where you can edit the fields you want to modify in Accounts.detailscreen.JPG


But the problem is, in accounts, there is a lookup field called Parent Account which specifies who is the parent of that particular account. In EditForm there is a Parent Account Dropdown populated with account names, I want to update particular account parent account field in the d365 to the dropdown selected value on the click of the submit button. I have written Formula to Patch the accounts record but it's not working. it's giving me the server response error.

Screenshot (64).png

I would greatly appreciate any suggestion. thank you.


Did you get this solved? I'm facing a similar issue

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,909)