Announcements
Hello Community Experts,
I have a custom entity and i want the map to show up based on the data entered in address field
I tried below links but it shows error like Error loading form control
https://xrmadventuretime.com/tutorials/show-map-with-pin-in-dynamics/
How do i achieve this requirement?
Please guide
Best Regards!
Hello, sumaira
If you facing problem in maping record in dynamicscrm . here I'm share references. i hope it will help you.
Thanks again for the response
I would like to try but since i dont know much about web resource and about PCF i was trying to take he help of those links
If you could please guide me on below it will be very helpful
I'm trying using this link
But i don't know where to add the below code
<controlDescriptions>
<controlDescription forControl="{deadbeef-1701-54d2-09be-35295876ca8a}">
<customControl id="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}">
<parameters>
<datafieldname>msdyn_name</datafieldname>
</parameters>
</customControl>
<customControl formFactor="0" name="MscrmControls.Map.MapControl">
<parameters>
<value>msdyn_name</value>
<mapSourceSwitch isGroup="true" static="true">CoordinatesGroup</mapSourceSwitch>
<latitude>msdyn_latitude</latitude>
<longitude>msdyn_longitude</longitude>
<addressEditableSwitch isGroup="true" static="true">isAddressEditableYesGroup</addressEditableSwitch>
<outputLatitude>msdyn_latitude</outputLatitude>
<outputLongitude>msdyn_longitude</outputLongitude>
</parameters>
</customControl>
<customControl formFactor="1" name="MscrmControls.Map.MapControl">
<parameters>
<value>msdyn_name</value>
<mapSourceSwitch isGroup="true" static="true">CoordinatesGroup</mapSourceSwitch>
<latitude>msdyn_latitude</latitude>
<longitude>msdyn_longitude</longitude>
<addressEditableSwitch isGroup="true" static="true">isAddressEditableYesGroup</addressEditableSwitch>
<outputLatitude>msdyn_latitude</outputLatitude>
<outputLongitude>msdyn_longitude</outputLongitude>
</parameters>
</customControl>
<customControl formFactor="2" name="MscrmControls.Map.MapControl">
<parameters>
<value>msdyn_name</value>
<mapSourceSwitch isGroup="true" static="true">CoordinatesGroup</mapSourceSwitch>
<latitude>msdyn_latitude</latitude>
<longitude>msdyn_longitude</longitude>
<addressEditableSwitch isGroup="true" static="true">isAddressEditableYesGroup</addressEditableSwitch>
<outputLatitude>msdyn_latitude</outputLatitude>
<outputLongitude>msdyn_longitude</outputLongitude>
</parameters>
</customControl>
</controlDescription>
</controlDescriptions>
can you please guide?
Best Regards!
Well since both are unsupported customizations there are many things that could go wrong, from a simple XML tag missing to a wrong Id (There are lots of Guids that you need to make sure are correct here). Determining the cause would require checking your code to debug the issue...
I strongly suggest using a real web resource or PCF component in this case.
thanks for the response @JairoP
Can you please suggest me why I'm getting the Error loading form control error even after following the below links?
Its quite urgent requirement
Please Advise!
Best Regards!
Hi Sumaira,
Bing maps are restricted to a set of entities in CRM that doesn't include "custom entities". I would say that you have 2 options here, either build a web resource (the old-still-valid way) or using a PCF component (the new trendy way).
As an example of the web resource I found this one (it might be outdated):
For PCF I found a couple (already built):
Check it out and please mark this as answered if it solved your question.
André Arnaud de Cal...
294,120
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator