Hi,I am looking for Javascript code to find current Users Team and if it matches "ABC Team" unlock onChange and Onload events.
Thanks.
You should be able to use the code listed here: https://community.dynamics.com/crm/b/passiondynamics/posts/get-user-s-teams-using-webapi-javascript-in-dynamics-365
Please let me know if that works.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156