Announcements
Hi everyone im looking for method to hide Stages in BPF ( Next and Back)
i tried several js but still not working :
Hi Partner,
First of all, Jquery is not supported in D365 forms.
If you want to control the DOM element, you should use settimeout function to wait until the ribbon element has been loaded in form.
function hideRibbon() { var back = getElementById('stageBackActionContainer'); if (back !== null && back != undefined) { back.hide(); back.html(""); clearTimeout(timer); } else { timer = setTimeout(arguments.callee, 1); } }
In addition, using JS on DOM directly is not supported in D365, I suggest that you could share more details about your requirement and we'll find other way for it.
Regards,
Leo
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156