Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Hi All, i have this Jscipt web resource which I'm using on a lookup filed inside a Contact.
When an Account is selected, it gets some values from fields inside the Account and pastes them into the same fields into the Contact form, however, it pastes only the phone number, all other fields remain empty. Any help if something is wrong with the code is appreciated.
here is a picture of the fields and the logical names as per the script
Field name new_parentaccount is not within quotes.
Change it from Xrm.Page.getAttribute(new_parentaccount).setValue(object); to Xrm.Page.getAttribute("new_parentaccount").setValue(object);
I've corrected it, but still verification required, activation date, and parent account, and the shipping method are not taken from the parentaccountid.
It seems that it required clearing the browser cache after publishing the new changes, it didn't work with regular page reload, thanks Charan.
I'm glad you were able to implement your Js code. However, I notice that you are using a code that is deprecated..
Please refer to this blog to update your code with the new Client API: itsfascinating.com/.../
Hey, thanks Mehdi,
for sure I will update the code and post the new version in an article for future references and refer to the provided article.
Great catch and thanks :)
Business Applications communities