Shouldn't the reference to `collection2` be `colle...
# community-help
h
Shouldn't the reference to
collection2
be
collection2.reference_collection_id
?
Copy code
code_links = {
    "name": "code_links",
    "fields": [
        {
            "name": "coll1",
            "type": "string",
            "reference": "collection1.code",
        },
        {
            "name": "coll2",
            "type": "string",
            "reference": "collection2.reference_collection_id", # here
        }
    ],
}