Notifications
Announcements
No record found.
Hi,
My customer has two scripting challenges based on the current open app, maybe someone can help me with this:
Thanks in advance!
Regards,Elowy
Hello Elowy,
So change of header background is doable through DOM/CSS injections but I would not recommend doing it.
In order to populate the owner you will have to do some scripting:
Here is the code you can use to define the current application - docs.microsoft.com/.../getcurrentappname
After that you will have to query for bu, team and populate the owner lookup. To query data I recommend using Xrm.WebApi - docs.microsoft.com/.../xrm-webapi
Feel free to update the thread with your progress and/or questions.
Hi Andrew,
Thanks a lot for your help. You pointed me in the right direction and I got it working right now.
Although it works, I really think I could use some D365-javascript basics training or videos. Do you have any suggestion?
Best regards,
Elowy.
Elowy,
You can check following:
www.youtube.com/watch
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 108 Super User 2025 Season 2
Jimmy Passeti 50 Most Valuable Professional
Gerardo RenterÃa Ga... 49 Most Valuable Professional