Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

personalization of display methods?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a user who wants some very specific fields in her purchase order "edit in grid" form.  I know how to create display methods and add them to the form, but in that case everybody gets them.  She'd like the ability to "personalize them in".  Is there a way to do that?

*This post is locked for comments

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: personalization of display methods?

    As I said above you may add it run-time, similar to what Sukrut has linked, or you may refer to AOT\Forms\tutorial_form_addcontrol as an example. Do not forget to set caching for the display method when added run-time too.

    Let us know how it goes and kindly mark all answers with a checkbox next to the posts if it proves helpful in resolving your issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: personalization of display methods?

    I'm already caching the display methods, but since this is a grid and all the values will be different, it still needs to get data for each of the rows the first time.  There are 3 fields, all with display methods.  I'll look at your second suggestions (dynamically adding) and see if I can use that.  Thanks for responding.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: personalization of display methods?

    The issue is not security, but performance.  If I add the columns to the grid as non visible, they still get populated (for everybody), correct?

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: personalization of display methods?

    You could add the form control runtime only for her userid, or for people with certain security group (if the request may repeat). Or you may add the display methods by default with Visible = false, and flip it on for her user/security role in the initialization of the form.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans