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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Filtering the field [Look for] to default value [Team] and not [User]

(0) ShareShare
ReportReport
Posted on by 5

Hello all

When I need to share a record, the default value of field [Look for] need to be "TEAM" (as a business requirement) and not "User".

I though make a js function to change the value, but as a newbie in dynamics, don't know where i can call the function, the window is not a 'form' i can change, or i cant find it.

So, the question, is this possible to make and how?

Thanks in advanced

PmC

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi PmC,

    Unfortunately it cannot be done.

    In Dynamics, the JS can only be used in a form.

    Here is a tutorial about it: How to add JavaScript to form on load in Dynamics 365 | by Fredrik Engseth | Medium

    But the share dialog is not a form, which cannot be customized with JS.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans