Exam4Training

How should a developer display a custom attribute on the category edit page in the admin panel when a new module Vendor.Category is created?

How should a developer display a custom attribute on the category edit page in the admin panel when a new module Vendor.Category is created?
A . Create view/adminhtml/layout/catalog_category_edit xml in the module, and then define a block that would display the field for the attribute.
B. The field for the attribute will appear automatically.
C. Create view/adminhtml/ui_component/category_form.xml file in the module, and then define the field for the attribute.

Answer: C

Explanation:

By creating a category_form.xml file in the view/adminhtml/ui_component directory, you can define fields using the UI Component mechanism. Once you specify the custom attribute in this XML, it will appear in the category edit form in the admin panel.

Latest AD0-E717 Dumps Valid Version with 77 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version