At one time I knew how to use the `cms:rendered` e...
# suitecommerce
c
At one time I knew how to use the
cms:rendered
event, but for some reason I can't get the event to fire. Does anyone know how to get it to fire?
s
Oh man, that's some old code. If I recall correctly, you need to use that on the CMS global var
c
Is there a new list of events somewhere we can subscribe to?
s
TECHNICALLY, Chris, TECHNICALLY the only events you're 'allowed' to use are the ones listed in the extensibility API
🙏🏻 1
If you're using SCA then there's obviously more leeway
We don't document all the events across all SCA modules (code is documentation!) so you'll have to toy around with the modules. For example, requiring them and then checking their events; or interrogating any instanced modules
In this case, you could, for example, do
CMS._events
c
Thank you, @Steve Goldberg. I'll give the CMS global a try. I remember that the solution was glaringly obvious once I had it, but I forgot to write it down!
k
@Chris what version of SCA are you working with?
c
2023