Related items with external lists having foregin key associations
Posted: 05 Oct 2018
Hello,
My application is entirely based on external content types and lists i.e. no native SharePoint lists. Several of the external content types have foreign key associations to enable 1-M relationships. For example Clients > Contacts.
On my Client display form, I have added a related list for Client Contacts. In setting up the data source using fd, I have the following settings:
List: Client Contacts
View: Contacts Read List
Filter by form field
Form field: client_id
List Field is where I have the problem. The Contacts Read List view has a column client_id, however, client_id is not available in the List Field drop-down. Instead, the foreign key association 'Client' (which is the external content lookup field) is listed, and doesn't appear to work as a filter field.
How can I filter a related list when using external content with foreign key associations?
Thanks,
Bob
My application is entirely based on external content types and lists i.e. no native SharePoint lists. Several of the external content types have foreign key associations to enable 1-M relationships. For example Clients > Contacts.
On my Client display form, I have added a related list for Client Contacts. In setting up the data source using fd, I have the following settings:
List: Client Contacts
View: Contacts Read List
Filter by form field
Form field: client_id
List Field is where I have the problem. The Contacts Read List view has a column client_id, however, client_id is not available in the List Field drop-down. Instead, the foreign key association 'Client' (which is the external content lookup field) is listed, and doesn't appear to work as a filter field.
How can I filter a related list when using external content with foreign key associations?
Thanks,
Bob