Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

'Create New' record button visible in UCI when it shouldn't be

Posted on by 55

Hello we have discovered an issue where for the same exact role in UCI vs Legacy web, the UCI form is showing the new button (to create a new record) in the entity's information form (for a user with security roles that don't have the create privilege on that entity), whereas the legacy web form never shows the 'new' button to begin with.

And while the new button is there in UCI and the user can click on it, when they attempt to save the newly created record, they receive the below error, which makes sense as the user and the role doesn't have create privilege and isn't really supposed to. But why is the new + button even visible in UCI, when it is (correctly) not there in the legacy web form. Is it an UCI change or do we need to check other tracks? 

Thanks

Button visible in UCI form which is not available for the role in legacy web: 

pastedimage1604079287126v2.png

After attempting to save in UCI form thru the button above:

pastedimage1604078981375v1.png

  • glouser Profile Picture
    glouser 55 on at
    RE: 'Create New' record button visible in UCI when it shouldn't be

    Thanks for your reply but I thought the default behavior was that the new button would not be shown if the create privilege was not there?

    Are you saying for each entity which is having this issue in UCI now (create/new button being visible without create permission), we now need to go and customize the ribbon via ribbon workbench.

    ps. We cloned the UCI org from legacy web org (where the new button doesn't show up without create privilege)

    and created the uci app from default solution/sitemap. So shouldn't the ribbon behavior have gotten cloned also?

  • Suggested answer
    RE: 'Create New' record button visible in UCI when it shouldn't be

    Hi glouser,

    Thank you for this post.

    In terms of the buttons in UCI and Legacy, for a couple of entities we introduced new buttons in order to be able to differentiate between the two and use other out of the box functions for UCI.

    As we introduced those we went back to Ribbon Workbench developer and ask him to show the UCI buttons as well.

    I guess we discuss about an out of the box entity, in the screenshot above, if that's the case please reach one of your developers and ask him to customize the "New" button for the UCI the same way he did in Legacy, in order to hide it when you don't have permissions to create a record.

    I hope this helps!

    Madalina Toma

    Microsoft D365 CE Support

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans