Skip to main content

Notifications

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

  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: Filtering the field [Look for] to default value [Team] and not [User]

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans