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
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.
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.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156