Hi
On the contact entity i want to change the composite field labels:
State/Province to County
ZIP/Postal Code to Post Code
what is the best and easiest method to achieve this?
Thanks in advance.
*This post is locked for comments
Hacking the DOM is unsupported in Dynamics 365 CE. This will work until some random Microsoft programmer changes that id value for some reason, apparent or otherwise.
Hi Shane,
Try using the Javascript code below and register this function on the load of the contact form.
function ChangeLabel(){
Xrm.Page.getControl("address1_composite_compositionLinkControl_address1_postalcode").setLabel("Postal Code"); Xrm.Page.getControl("address1_composite_compositionLinkControl_address1_stateorprovince").setLabel("County");
}
See the links below.
dynamicscrmcoe.com/how-to-change-display-name-for-composite-fields-in-microsoft-dynamics-crm-2015/
community.dynamics.com/.../171811
Hope this helps.
Hi Shane,
Refer this:
www.qgate.co.uk/.../setting-composite-field-labels-in-microsoft-dynamics-crm
Hope this helps
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156