Jacob D
08/02/2023, 12:00 AMSteve Goldberg
08/02/2023, 9:30 AMcms:rendered
should do the trick (https://developers.suitecommerce.com/events.html#custom-suitecommerce-events)Jacob D
08/02/2023, 6:01 PMSteve Goldberg
08/03/2023, 8:51 AMMike Herrera
08/22/2023, 3:55 PMcms:rendered
event worked for you?Jacob D
08/22/2023, 4:49 PMcms:rendered
, at least on the page I was woking on at the time. I’m thinking it didn’t get added until a later version. I’m really encouraged by its existence, but I’m thinking we’re left behind in the upgrade cycle. What I ended up doing was pretty hacky, but it seems to work. I had a YouTube video embedded on the page and I noticed that it was always the last thing to load, so instead of using the standard iframe embed, I found that YouTube has an API that you can use to embed videos: https://developers.google.com/youtube/iframe_api_reference, along with a handy onReady
event that I used to execute the code that I needed to run once everything was finished loading. Like I said, SUPER hacky, but it worked in my case because it was just some simple scroll events that we’re critical to the page operation. Super specific to my application, but I figured it might give you some ideas on ways to circumvent the Kilimanjaro restrictions.Mike Herrera
08/22/2023, 6:50 PMcms:rendered
isn’t fired on Kilimanjaro. We’re currently relying on hacks, too. Lots of setTimeouts and setIntervals to check when the DOM has stabilized. Would consider bundling more into the project, but the bundle sizes are already pretty hefty.Jacob D
08/22/2023, 6:52 PM