PdfPrep.com

Which three actions do you specify in a module’s Data Patch to add a customer notes attribute?

A merchant tasked you to add an input field for notes to the Customer Account Information backend page.

Which three actions do you specify in a module’s Data Patch to add a customer notes attribute? (Choose three.)
A . $cache->clean([‘eav’, ‘db_ddl’]);
B . $customerSetup->addAttribute(‘customer’, ‘notes’, $options);
C . $customerSetup->getConnection()->addColumn(‘customer_entity’, ‘notes’, $columnSpecs);
D . $notesAttribute->setData(‘used_in_forms’, [‘adminhtml_customer’]);
E . $customerSetup->addAttributeToSet(‘customer’, $attributeSetIdCustomer, $groupId, ‘notes’);

Answer: A,B,D

Exit mobile version