Hi there, I’m writing a custom connector using the...
# replication-troubleshooting
d
Hi there, I’m writing a custom connector using the low-code CDK. How can I add the parent id as a column to a substream? Example: I have a path url like this:
courses/{{ stream_slice.course_id }}/analytics
The response contains no data about the
course_id
used, so I currently have no way to connect it to the correct course.
✅ 1
s
@Dominik Mall i think you can solve this by using a transformation e.g:
Copy code
stream_name:
  ...
  transformations:
      - type: AddFields
        fields:
          - path: [ "course_id" ]
            value: "{{ stream_slice.course_id }}"
👍 1
d
Ah perfect, that’s what I was looking for! Thanks
s
did it work?
d
Yes, after correctly adding it to the schema and refreshing it 😉
s
nice! 🙂