Basically so far I have added a custom button(highlighted in image) on admin/customer/edit page. In order to add the custom button I have overridden \vendor\magento\module-customer\view\base\ui_component\customer_form.xml TO app\code\Vendor\Customer\view\base\ui_component\customer_form.xml app\code\Vendor\Customer\view\base\ui_component\customer_form.xml <button name=”newsignupreview” class=”Vendor\Customer\Block\Adminhtml\Edit\NewSignupReviewButton”/> app\code\Vendor\Customer\etc\di.xml <preference for=”Vendor\Customer\Api\Data\NewSignupReviewInterface” type=”Vendor\Customer\Model\Customer\NewSignupReview” /> app\code\Vendor\Customer\Block\Adminhtml\Edit\NewSignupReviewButton.php <?php namespace Vendor\Customer\Block\Adminhtml\Edit; use Vendor\Customer\Api\Data\NewSignupReviewInterface; use Magento\Customer\Block\Adminhtml\Edit\GenericButton; use Magento\Customer\Api\AccountManagementInterface; use Magento\Framework\View\Element\UiComponent\Control\ButtonProviderInterface; class NewSignupReviewButton extends GenericButton implements ButtonProviderInterface { […]
- Tags 'class' => 'newsignupreview', 'data_attribute' => [ ], 'Entity ID' ) ->addColumn( 'signup_review', 'id' => 'customer-edit-newsignupreview-button', 'on_click' => '', 'Signup Review' ) ->setComment('New Signup Review Table'); $installer->getConnection()->createTab, 'sort_order' => 15, 'unsigned' => TRUE, ['id' => $this->getCustomerId()]); } } ?> So if that Reject button is clicked it will insert a record in my custom table with customeri, ['identity' =>false, ], ]; } return $data; } public function getNewSignupReviewUrl() { return $this->getUrl('*/*/newsignupreview, \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER, \Magento\Framework\DB\Ddl\Table::TYPE_TEXT, \Magento\Framework\Registry $registry, \Magento\Framework\Setup\ModuleContextInterface $context) { $installer = $setup; $installer->startSetup(); if (!$, $registry); $this->newsignupreview = $newsignupreview; $this->customerAccountManagement = $customerAccountManagement; }, $signupreview); } }, 255, AccountManagementInterface $customerAccountManagement ){ parent::__construct($context, Basically so far I have added a custom button(highlighted in image) on admin/customer/edit page. In order to add the custom button I have ove, NewSignupReviewInterface $newsignupreview, null, nullable = false, primary: true