
Since Dynamics 365 v9 it's possible to filter the N:N 'Add Existing Lookup' by using supported javascript code.
( https://github.com/PaulNieuwelaar/filteraddexisting )
In my case I'm filtering a N:N relationship, I need to customize the command for the N:N button (called AddExistingAssoc) on the SubGrid ribbon for the related entity.
But the subgrid is missing the buttons, no way to remove records from the grid?
Any ideas about how fixing this?
*This post is locked for comments
I have the same question (0)I managed to do it in some sort of workaround by doing a disassociate in javascript on the selected records in the subgrid, in a custom button on the form, only visible when the subgrid contains records.