ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 19 - AD0-E722 discussion

Report
Export

A merchant asks for a new category attribute to allow uploading an additional mobile image against categories. The merchant utilizes the content staging and preview feature in Adobe Commerce and wants to schedule and review changes to this new mobile image field.

A developer creates the attribute via a data patch and adds it to view/adminhtml/ui_component/category_f orm. xml. The attribute appears against the category in the main form, but does not appear in the additional form when scheduled updates are made.

To change this attribute when scheduling new category updates, which additional action should the Architect ask the developer to take?

A.
The attribute must have its apply_to field set to 'staging' in the data patch file.
Answers
A.
The attribute must have its apply_to field set to 'staging' in the data patch file.
B.
The attribute must have <item- name=''allow_staging' xsi:type=''boolean''>true</item> set in the cjt.gopy_for-.xni file under the attributes config' section.
Answers
B.
The attribute must have <item- name=''allow_staging' xsi:type=''boolean''>true</item> set in the cjt.gopy_for-.xni file under the attributes config' section.
C.
The attribute must also be added to view/adminhtml/ui_co-component/catalogstaging_category_update_form.xml.
Answers
C.
The attribute must also be added to view/adminhtml/ui_co-component/catalogstaging_category_update_form.xml.
Suggested answer: C

Explanation:

This action is necessary to make the attribute available for content staging and preview. According to the Adobe Commerce documentation, the catalogstaging_category_update_form.xml file defines the fields that are displayed in the Scheduled Changes section of the category form. The file extends the category_form.xml file and adds additional fields that are specific to content staging, such as start and end dates, campaign name, description, etc. To include a custom category attribute in the Scheduled Changes section, the attribute must also be declared in the catalogstaging_category_update_form.xml file with the same configuration as in the category_form.xml file.

Content staging | Adobe Commerce Developer Guide

Create a category attribute | Adobe Commerce Developer Guide

asked 02/10/2024
Deniz Cimen
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first