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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 192 Super User 2026 Season 1
11manish 129
CU11031447-0 100