Skip to content

Document Find and Replace bulk action for Contacts and Companies#750

Open
promptless-for-oss wants to merge 2 commits into
mautic:7.2from
Promptless:promptless/find-replace-bulk-action
Open

Document Find and Replace bulk action for Contacts and Companies#750
promptless-for-oss wants to merge 2 commits into
mautic:7.2from
Promptless:promptless/find-replace-bulk-action

Conversation

@promptless-for-oss

Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Documents the new Find and Replace bulk action that allows users to update field values across multiple Contacts or Companies by finding a specific value and replacing it. Covers both the selection-based action and the page-level action for current search results.

Trigger Events


Tip: Request one-off documentation tasks in the Dashboard under New Task 🚀

Add documentation for the new Find and Replace bulk action that allows
users to update field values across multiple records by finding a
specific value and replacing it with a new one. Includes documentation
for both Contacts and Companies sections, with notes about permissions
and the page-level action for applying replacements to search results.

* **Export** - Allows you to export selected Contacts to CSV.

* **Find and Replace** - Updates field values across selected Contacts by finding a specific value and replacing it with a new one. Select a Contact field, enter the value to find, and specify the replacement value. Only Contacts with the matching field value receive the update.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Find and Replace bulk action documentation based on PR #16207 which introduces batchFindReplaceAction in LeadController.php and CompanyController.php. The PR adds a new FindReplaceType form and CustomFieldFindReplace service for this feature.

Source: mautic/mautic#16207


The following batch actions are available:

* **Find and Replace** - Updates field values across selected Companies by finding a specific value and replacing it with a new one. Select a Company field, enter the value to find, and specify the replacement value. Only Companies with the matching field value receive the update.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added batch actions section with Find and Replace based on PR #16207 which adds batchFindReplaceAction to CompanyController.php and updates Company/list.html.twig to include the bulk action button.

Source: mautic/mautic#16207

@adiati98 adiati98 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@promptless-for-oss please address the suggestions.

Comment thread docs/companies/companies_overview.rst Outdated
Comment thread docs/contacts/manage_contacts.rst Outdated
Comment thread docs/contacts/manage_contacts.rst Outdated
- Bold 'Find and Replace' as a UI term in all instances
- Replace 'page actions menu' with 'list view actions' to avoid Vale warning
@promptless-for-oss

Copy link
Copy Markdown
Author

Thanks for the feedback @adiati98! I've addressed all the suggestions:

  • Bolded Find and Replace as a UI term in all instances
  • Replaced "page actions menu" with "list view actions" to avoid the Vale warning about "page"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants