Hi Team,
I want to disable delete button one work order are status close. because after close work order not allowed to delete any uploaded document.
I try to using Ribbon Workbench but not able to do that.
I'm not a developer, but I believe the way to accomplish this is with javascript. That's how I've done it with with other functionality in Field Service
Hi Jacky.
There is a similar thread here, it might help.
community.dynamics.com/.../ribbon-workbench-display-rule-based-on-field-containing-data
Hi Jacky,
The work order entity and sharepoint document entity is 1: relationship, work order is parent for document.
So what you want is hiding sub-grid Delete button based on Parent status.
If so, you can refer following links to achieve it:
(+) Hide SubGrid New Button button based on Parent status - Dynamics 365 Sales Forum Community Forum
Dynamics 365 CRM Hide Subgrid Ribbon Button based on Parent Entity Field value – xrm CRM Dynamics (wordpress.com)
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Hi Partner,
Has the problem been solved? Any updates?
Please click Yes under "Did this answer your question?" to close this thread.
Thanks.
Jacky, that's because in the SharePoint site the logged in users permissions allow them to delete the document.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 42 Super User 2025 Season 2
MVP-Daniyal Khaleel 40
CU23101130-0 17