Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / How to check the name ...
Finance forum
Suggested answer

How to check the name of the specific form and not its pattern

Posted on by 6
Hello, I'm assigning roles, some roles need to have specific elements or forms so the base roles don't work for me and I have to create my own, the method I use is to right click, and it shows me the name of the form then I look for it in visual studio to look for its related privilege, in part this method has helped me,   but there are certain general forms such as the DIALOG, which do not serve me since I need the specific name of the form, my question is how can I consult the specific name and not its pattern from the finance portal
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 228,366 Most Valuable Professional on at
    How to check the name of the specific form and not its pattern
    You're asking a wrong question. You seem to believe that the actual form isn't SysOperationTemplateForm and that there is some other form name to found, but you're wrong. The form really is SysOperationTemplateForm. The trick is that there are form controls added to this form at runtime, therefore you should be looking for the class using this SysOperationTemplateForm, not for a different form.
     
    SysOperationTableForm is used for dialogs generated by the SysOperation framework. It's called by a controller class and it usually generates the controls from a data contract class, plus there may be custom code in the UI builder class. You should focus on the controller, that's the entry point.
     
    Unfortunately, you won't easily see it from UI. Instead, you can look at the menu item triggering the class, instead of later looking at the dialog generated by the class. You can also use the debugger to see where the form was called from or extend FormControlPersonalization form to show you this information.
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,560 Moderator on at
    How to check the name of the specific form and not its pattern
    Generally, to open a dialog form, you need to click a button. You can check the name of button and check the privileges for that button where the button can be Menu Item Button or normal button.

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.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,462 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,366 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans