Hello there
I've built some custom actions for contacts / leads whereby I can add or remove them from one or more target lists from their list views.
This works fine, however I'd like to make use of the 'Select All' and where method too. In the source code there's already a dialog which supports massRelate, and so a massUnRelate should not be so tricky. However when relating / unrelating from the child entity's list view we'd need to somehow specify what the scope is (target list / etc) before opening the dialog.
E.g list contacts by a where condition, choose Select ALL, from the action menu choose Mass Link or Mass Unlink, then in the sub menu choose the Entity Type, then Select Records dialog opens, and you can select one or more entities (also possibly using Select All and/or Where options).
Example of how this might look:
Do you have suggestions on how best to achieve this? We need this feature really soon, and so for now will use my Target List specific hack but it would nicer to make the process work with any relatable foreign entity.
If anyone wants this functionality now you can use this https://github.com/alasdaircr/espocr...a5e19e317913f6 however it would be great to get this into a place as a viable pull request.
I've built some custom actions for contacts / leads whereby I can add or remove them from one or more target lists from their list views.
This works fine, however I'd like to make use of the 'Select All' and where method too. In the source code there's already a dialog which supports massRelate, and so a massUnRelate should not be so tricky. However when relating / unrelating from the child entity's list view we'd need to somehow specify what the scope is (target list / etc) before opening the dialog.
E.g list contacts by a where condition, choose Select ALL, from the action menu choose Mass Link or Mass Unlink, then in the sub menu choose the Entity Type, then Select Records dialog opens, and you can select one or more entities (also possibly using Select All and/or Where options).
Example of how this might look:
Do you have suggestions on how best to achieve this? We need this feature really soon, and so for now will use my Target List specific hack but it would nicer to make the process work with any relatable foreign entity.
If anyone wants this functionality now you can use this https://github.com/alasdaircr/espocr...a5e19e317913f6 however it would be great to get this into a place as a viable pull request.
Comment