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

Notifications

Announcements

No record found.

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 425
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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans