Getting $CONTENT_DATA from event for a non-localized item

I am trying to create a rule to email some data on the content changed event. I am unable to retrieve any data from the non-localized fields using $CONTENT_DATA.
E.g. $CONTENT_DATA.Product or $CONTENT_DATA.Product.en or $CONTENT_DATA.Product.default all return null. Only when I create a field as a localized I can get the data using $CONTENT_DATA.Product.en

Thank you

Have you tried $CONTENT_DATA.Product.iv?

works perfectly! thank you

You can also have a look to the tests: https://github.com/Squidex/squidex/blob/master/tests/Squidex.Domain.Apps.Core.Tests/Operations/HandleRules/RuleEventFormatterTests.cs

Thank you, Sebastian

Thank you for creating Squidex, I played with it for a few days and I love it, she is a beauty

1 Like