pen one
01/22/2021, 10:07 PMcontext.form.addButton
.Gregor Pollak
01/22/2021, 10:38 PMscriptContext.form.clientScriptModulePath = “./cs_add_css.js”and then inside of that JS, something like:
var link = document.createElement( “link” );
link.href = “https://…“;
link.type = “text/css”;
link.rel = “stylesheet”;
link.media = “screen,print”;
document.getElementsByTagName( “head” )[0].appendChild( link );So idea is that you add the CSS dynamically thru the script which is added in UserEvent beforeLoad