Hello,
I want to publish my custom solution on App Source, but i have some customization of javascript / jquery which is not supported by Microsoft.
Is there any other method to publish it on App Source with such customization.
Hello,
I want to publish my custom solution on App Source, but i have some customization of javascript / jquery which is not supported by Microsoft.
Is there any other method to publish it on App Source with such customization.
Vaishali, did you find an answer to this? I came across the same issue and have not found a solution yet.
Thanks.
Hi,
This is also in the list that we can't use parent.document.getmentbyId in Rule ID "web-avoid-dom-form".
Description:
Filename: portalprofileselectioncontrol.html
'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.
Hi partner,
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.
Hope it helps.
Best Regards,
Leo
Hi Vaishali,
Did you get a response from Microsoft AppSource team? Can you please share a specific JS file name?
Hi Leo,
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.
Hi partner,
According to this DOC, JS is supported in both forms and web resources in D365, but Jquery is not supported in Form.
So could you kindly share more information about where did you use JS/Jquery in your solution and what does "javascript / jquery which is not supported by Microsoft" mean?
Hope it helps.
Best Regards,
Leo
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,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156