Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

edit method not working

Posted on by 593

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,832 Super User 2024 Season 1 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 593 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,832 Super User 2024 Season 1 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 593 on at
    RE: edit method not working

    it has

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 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 593 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,832 Super User 2024 Season 1 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.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans