What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

there seems to be no customer related event constants, like CustomerEvents::SPY_CUSTOMER_ENTITY_CREA

U01G4K5E0J2
U01G4K5E0J2 Posts: 194 🧑🏻‍🚀 - Cadet

there seems to be no customer related event constants, like CustomerEvents::SPY_CUSTOMER_ENTITY_CREATE,
is there a reason for that like CmsBlockEvents::ENTITY_SPY_CMS_BLOCK_CREATE i was asking about earlier? @UKBTMFXMJ?

Comments

  • Stanislav Matveyev
    Stanislav Matveyev Sprykee Posts: 211 🧑🏻‍🚀 - Cadet

    We don't save any customer data into Redis/ElasticSearch, so we don't need events.

    if you need it you can override DB schema on project level and add event behavior

    <table name="spy_customer" idMethod="native">
        <behavior name="event">
            <parameter name="spy_customer_all" column="*"/>
        </behavior>
    </table>
    
  • U01G4K5E0J2
    U01G4K5E0J2 Posts: 194 🧑🏻‍🚀 - Cadet

    I see, thank you