Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

edit method not working

Posted on by 557

Hi I do have a form with a form datasource set to allowedit = NO. We do have an edit method for one field on the form to enter a value in one field. As Sysadmin it works but not with user roles.

Any sugegstions?

  • GirishS Profile Picture
    GirishS 27,826 Super User on at
    RE: edit method not working

    If the needed permission property on the control is set to manual, then you need to add that control to the security roles.

    If you don't want security role just to change that Needed permission property to None and check.

    Refer to the below documentation.

    https://learn.microsoft.com/en-us/dynamicsax-2012/developer/security-permissions-properties-for-a-form?redirectedfrom=MSDN

    Thanks,

    Girish S.

  • CRSW Profile Picture
    CRSW 557 on at
    RE: edit method not working

    Hi

    It's a custom form. The Field property of the control is set to manual

  • GirishS Profile Picture
    GirishS 27,826 Super User on at
    RE: edit method not working

    Does that control have Needed permission property set to manual?

    Is the form custom or standard one?

    Thanks,

    Girish S.

  • CRSW Profile Picture
    CRSW 557 on at
    RE: edit method not working

    it has

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,826 Super User on at
    RE: edit method not working

    Please check whether the tables used in the edit method select statement has access to the security roles.

    Thanks,

    Girish S.

  • CRSW Profile Picture
    CRSW 557 on at
    RE: edit method not working

    the field is visible but not editable when using different role than sysAdmin

  • GirishS Profile Picture
    GirishS 27,826 Super User on at
    RE: edit method not working

    Hi CSRW,

    It's now working - Can you elaborate.

    Is the field not visible when you test it with non-system admin role?

    Thanks,

    Girish S.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans