Parameter not passed to a datasource


#1

I have defined the below datasource that feed a MyComponent.c3ui component - this component is part of a Mypage.c3ui together with other components

ui module MyModule {
    dataSource MyDataSource {
        "collection": "true",
        "c3type": "MyTypeForUI",
        "c3function": "getDetail",
        "responseSelector": null,
        "c3arguments": {
            "spec": {
                 "filter": "{{ record.data.source.id }}"
            }
        }
    }
}   

the issue I’m facing is that the parameter record.data.source.id is passed “blank” to the datasource…instead in the other components that belong to the same page the record is properly passed.
Any idea where I have to look to fix?


#2

Can you post the code of the page and component as well?


#3

I have just fixed the issue removing the attribute below from the component

listenToPageRecord