Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Global Search Enhancement

Posted on by 40

Hi Experts,

We are using globoal search to show the cases when we search some cases. Once we search the result appears like this.

pastedimage1678707203434v1.png

a . Now my requirement is to stop the user from opening this record based on security role, is this possible - I can achieve this by writing the JS code but the problem I am facing that since the function is getting called on the onload of the form, entire page gets load and then only my onload function is triggered. Is there a possiblity to call my function before loading the entire case form?

  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
  • J. Williams Profile Picture
    J. Williams 35 on at
    RE: Global Search Enhancement

    Hi

    Could you please explain your case?

    Why would you stop this user from opening this form? If the user has read rights they will be able to see and open this record.

    If they do not have those rights this case will not be visible.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans