Forum Discussion
Steve Johnson
Apr 15, 2018Copper Contributor
Custom Action on Addanapp.aspx not executing
Hey all, I've started to try and understand Scriptlink Custom Actions and as a bit of a test, I want to hide some elements on the addanapp.aspx page. Individually, I have managed to test eac...
Talarico
Jun 04, 2021Copper Contributor
little late to it, but you'll want to wait until the page loads before your script executes.
see what sort of JS promise chain you need to jump into as the elements are not yet rendered when your script executes. a simple script delay works but a promise chain would be ideal to ensure you target what you want to hide AFTER it gets rendered.