London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Determine language in CatalogEventBroadcaster.LocalEntryUpdated

Vote:
 

Hi,

How can I determine which language is being updated when handling the CatalogEventBroadcaster.LocalEntryUpdated?

#123392
Jul 03, 2015 8:21
Vote:
 

LocalEntryUpdated is raised without language-specific. Whenever you save a CatalogEntryDto, it'll be raised, and CatalogEntryDto is language-agnostic.

So what's the problem you're trying to solve?

/Q

#123423
Jul 03, 2015 11:25
Vote:
 

Hi,

When an catalog entry is updated (saved / updated) I need to re-index it in the appropriate language index, so I need to know the language of the update / insert.

#123426
Jul 03, 2015 12:00
Vote:
 

I don't think you can index (the search index) by language, the language is per-entry, not per-language. 

Regards.

/Q

#123428
Jul 03, 2015 12:44
Vote:
 

Hi,

It's a custom index

#123434
Jul 03, 2015 15:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.