Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
As shown in the image, I need to restrict access of DELETE BUTTON in Extender windows.
How can I do it?
Give Field-Level Security a try. I just gave it a shot, and it worked.
Be aware that Extender has multiple identical windows which it uses to display its extender windows. You would need to use Field-Level Security against all of them with multiple Field Security IDs to disable them all.
Also, this would disable Delete for all Extender windows and not just when it is being used to display the IT Ware House window.
If you want to selectively disable the button you would need some sort of scripting, which can be achieved with Rockton Software's conditional field level security product which adds back the scripting ability I originally coded when I created Field Level Security.
You could also use non-logging triggers in GP Power Tools.
Original Developer of Field Level Security
Good point David!
I think the answer it pretty correct. However, I am unable to find the particular extender window.
thanks a lot for helping Ms. Leslie
Where are you looking? Are you looking in the Extender Dictionary? As David said, if you set security on the Extender window, it will impact all windows built of that type. I do not think you will find the specific Extender window that you have developed. It would be all of the delete buttons on all of the Extender windows. I haven't tried it, but I think that's the way it may work.
If I am reading this thread correctly, does that mean it wouldn't be possible to disable the DELETE button on an Extender window built off the Item Maintenance window? I am trying to do something similar. I have an Extender Window off the Item Maintenance window. The only thing in the Extender Window is a Scrolling Grid:
I want to be able to disable the DELETE button in the scrolling grid window because when it is clicked, it deletes all the records in the grid so there is a serious risk of the users deleting all the records instead of a single row. I am trying to figure out a work-around. I was hoping Field-Level Security could solve this because I am not a developer and don't know how to write logic to do it.
Hope you are doing well...
Extender uses multiple "template" windows of each type to allow for multiple extender windows to be open at the same time.
If you are going to use Field Level Security to do this, you would need to create a Field Security ID to disable the Delete Button for each of the 10 Extender Detail Form windows.
OK, SCRATCH THAT.
The "template" windows in Extender are hidden windows and Field Level Security does not display hidden windows in its Resource Explorer.
You cannot use Field Level Security at all.
But, you could use GP Power Tools. I think I will blog this today. I will post a link shortly.
Please see my blog post on this topic as it has a working simple solution.
Thank you for the detailed follow-up and helping save my sanity! I kept looking for all the Extender Detail forms in the Resource Explorer and then I even tried Modifier and VBA to see if they were options as you mentioned in your blog, while banging my head on my desk.
Now, if I can convince the client to purchase the GP Power Tools...and creating a customization for the disable functionality. They might be open to it after clicking the DELETE button in the window once or twice.
Thanks again! The detailed blog article is excellent!
GP Power Tools only costs a dollar a day. And offers much more than this solution. Should be a "no brainer".
Business Applications communities