cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OliverFlint
Level: Powered On

Binding to address fields on contact/account

I'm just playing with the PCF and noticed that I cannot bind properties of my component to the address fields (e.g. address1_line1).

 

I am able to configure address fields on the form to display the control in the UI and that binds the first property. But any other properties after that cannot be bound to address fields on contact/account. I can bind them to other SingleLine.Text fields (e.g. firstname).

 

Is this a limitation or a bug?

 

Cheers

Ollie

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff HemantG
PowerApps Staff

Re: Binding to address fields on contact/account

This is a known issue which has come up few times in the past too. It is being evaluated and tracked.  

 

As a workaround you can create duplicate text fields for the address components and use the PBL/ClientAPI script to read values from these into the OOB ones.  Workflows can also be used fro data copy. 

6 REPLIES 6
PowerApps Staff HemantG
PowerApps Staff

Re: Binding to address fields on contact/account

This is a known issue which has come up few times in the past too. It is being evaluated and tracked.  

 

As a workaround you can create duplicate text fields for the address components and use the PBL/ClientAPI script to read values from these into the OOB ones.  Workflows can also be used fro data copy. 

sheldoncopper73
Level: Powered On

Re: Binding to address fields on contact/account

I have also tried that, address fields on order like ship to and bill to address could be bind but for account, I am passing the logical name of the fields and retrieving their values through context.webapi.retrieve method

Highlighted
OliverFlint
Level: Powered On

Re: Binding to address fields on contact/account

Thanks for the replies guys!

 

I'll look forward to this being fixed ;-)

PowerApps Staff HemantG
PowerApps Staff

Re: Binding to address fields on contact/account


@sheldoncopper73 wrote:

I have also tried that, address fields on order like ship to and bill to address could be bind but for account, I am passing the logical name of the fields and retrieving their values through context.webapi.retrieve method


That is interesting solution. Do you mind sharing the code for community reference as this avoids field duplication. 

OliverFlint
Level: Powered On

Re: Binding to address fields on contact/account

sheldoncopper73
Level: Powered On

Re: Binding to address fields on contact/account

Hey @HemantG Just wanted to know when will we be the address bug will be fixed.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 96 members 4,355 guests
Please welcome our newest community members: