I have a JS file with this:
Xrm.App.sidePanes.createPane({
title:"Contacts",
paneId:"ContactList",
canClose:false
}).then((pane)=>{
pane.navigate({
pageType:"entitylist",
entityName:"contact",
})
});
It works when I use dev tools. I know its possible to target a model-driven apps onLoad, but I don't know how to get there or how to add it yet, as this is my first time. Has anyone done this before and is willing to help here?