Breaking news from around the world
Get the Bing + MSN extension
Answer forum questions for a chance to win prizesProviding verified answers in the community not only helps your colleagues find solutions, it also earns community members badges and spots on the Top 10 Leaderboards. Starting this month, your verified answers can help you earn a chance to win monthly prizes.
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Is there any other method to publish it on App Source with such customization.
According to this DOC, JS is supported in both forms and web resources in D365, but Jquery is not supported in Form.
Hope it helps.
Thanks for your response.
I have added HTML web resource on click of one custom ribbon button. But Microsoft is not allowing us to pick DOM element directly, is there other way by which we can achieve this?
Please find below sample code which i am using in one of my file.
Did you get a response from Microsoft AppSource team? Can you please share a specific JS file name?
If you want to get DOM on the form by getElememnt, you need to add "parent" before "document" .
For example, I want to get the DOM of the formtitle on the form, I could use this code.
And here is the result.
This is also in the list that we can't use parent.document.getmentbyId in Rule ID "web-avoid-dom-form".
'parent.document.getElementById("overlay")' accesses the document object model (DOM) managed by a model-driven app directly. This technique is unsupported in all versions of Dynamics 365 and PowerApps. Remove or replace with a supported Client API Object Model.
Vaishali, did you find an answer to this? I came across the same issue and have not found a solution yet.
Business Applications communities