web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

allow user create without delete from form

(0) ShareShare
ReportReport
Posted on by 2,050

Greetings everyone 

i'v created new role for user and i want from user only to create on this form without delete

so i want hide or disable delete button

4812.PNG

and i did try many things like

i did change property NeededPermission on this button to manually then i add design to my privilege then then on my privilege i did change to "NoAccesses" 

but still show that button and user can be delete record

even i did try from table and i make permission to "Create"  even still user can delete

in this case what solution for this problem because i want apply this way on other form which look like that

*This post is locked for comments

I have the same question (0)
  • mohammed.mqi Profile Picture
    2,050 on at
    RE: allow user create without delete from form

    i got it now

    the Delete button is not available only after saving a newly created journal

    thanks you very much for that note

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: allow user create without delete from form

    Hmm.. I tried it and for me the Delete button is not available for Price/discount agreement journals.

    There's one exception: it is available before saving a newly created journal. But not for any journals that have already been created (saved to database). So, the user can cancel the creation if the journal has not yet been saved. I think this is ok.

    Could you please check once more in your environment?

  • mohammed.mqi Profile Picture
    2,050 on at
    RE: allow user create without delete from form

    ok thanks here what you want

    1-privilege

    3531.PNG

    2- and here role 

    6254.PNG

    3- here user role

    85300.PNG

    4- and here form from user as you can see delete button is available and i can also delete    

    8321.PNG

  • nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: allow user create without delete from form

    Could you then share more details:

    1) Screenshot of your privilege, so that we can see the entry point name and access level

    2) Screenshot of your role, so that we can see there are no other privileges

    3) Screenshot of your user's roles, so that we can see there are no other roles

  • mohammed.mqi Profile Picture
    2,050 on at
    RE: allow user create without delete from form

    but only i have this one privilege on my role

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: allow user create without delete from form

    Then the user has some other privilege that grants delete access. You need to check all roles of this user.

  • mohammed.mqi Profile Picture
    2,050 on at
    RE: allow user create without delete from form

    thanks all for replay

    yes this first things I've did

    i set Create on the MenuItem still delete button can be appear and delete

  • mohammed.mqi Profile Picture
    2,050 on at
    RE: allow user create without delete from form

    thanks all for replay

    yes this first things I've did

    i set Create on the MenuItem still delete button can be appear and delete

  • Community Member Profile Picture
    on at
    RE: allow user create without delete from form

    Hi,

    Have you tried to set Create on the MenuItem instead of Delete?

    BR

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: allow user create without delete from form

    Do you have a menu item that opens the form? You should have.

    Then, drag & drop that menu item to the Entry points of your security privilege. Set access level to Create.

    Then, assign this privilege to a duty and the duty to a role. And grant this role to your user. Now your user can only create records but not delete them (assuming he/she doesn't have some other role that grants also delete access to this menu item).

    You don't need to change the "NeededPermission" property in this case.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans