I have…
- [ x] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ ] Bug report
- [ ] Performance issue
- [ x] Documentation issue or request
Current behavior
Expected behavior
Minimal reproduction of the problem
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [x ] Cloud version
Version: [VERSION]
Browser:
- [x ] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
Hi Sebastian
I have a reference schema (countries) which is referred in another schema (employee).
I don’t set the Id field in Countries schema, so it takes the event.id.
Now in the Employee, as I am referring countries, I need to capture the id of countries too
(Kafka rules)
I can’t seem to figure out how to get the countries id in the Employee kafka rule.
I tried few things like:
In Employee rules…
{% reference ‘Countries’, event.data.Countries.iv[0] %}
“Countries”: “{{Countries.id}}” – doesn’t see to work. It comes null.
“CountriesName”: “{{Countries.data.Name}}” - - this works fine and returns countries name
I can’t see to figure out as why id doesn’t work.
Thanks in advance.