web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to set Two Option filed value in Canvas App

(1) ShareShare
ReportReport
Posted on by 440
Hi all,
 
I have one canvas app embedded in Dynamics MDA, here my requirement is to copy the account address to contact on select of one checkbox filed.
For that I have created one canvas app and embedded it on contact tab of account where all contacts are listed regarding particular account, there is one checkbox called "inherit HQ Address" if user will select this checkbox then account address copied from account to contact
 
This highlighted check box is virtual filed on canvas app level, till here it is working fine through submit form (create contact button),I am saving the address from account to contact.
 
requirement:  My requirement here is to update the checkbox value on contact level as well, there is one, two option field on contact level "Inherited HQ address", I want this field to be update as soon contact is updating from account.
 
 
I have created this formula to update the two option value but it is not updating the contact level checkbox, even not giving any error.
 
If(inheritHQAddress = true, Choices('Inherit HQ Address (Contacts)'.Yes), Choices('Inherit HQ Address (Contacts)'))
 
Please give your inputs.
 
 
 
I have the same question (0)
  • Verified answer
    Rachana H B Profile Picture
    7 on at
    Hi Himanshu,
     
    This what I did and it is working at my end, on DataCard in Default used below code
    Default : If(inheritHQAddress = true,'Inherit HQ Address (Contacts)'.Yes,ThisItem.'Inherit HQ Address')
    and on DataCardValue in Items 
    Items : Choices('Inherit HQ Address (Contacts)')
     
     Hope that helps!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 156 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans