Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E704 Topic 6 Question 58 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 58
Topic #: 6
[All AD0-E704 Questions]

You have created a module MyCompany_MyModule that adds a custom category attribute. The attribute is not showing up on the Category Edit Page in the Admin. How do you correct this?

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

Corinne
27 days ago
I got this! The answer is definitely C. Setting the attribute to be visible is the key here. Otherwise, it's just gonna be a ghost in the admin panel, you know?
upvoted 0 times
...
Flo
1 months ago
Haha, this reminds me of that time I spent hours debugging a similar issue. Turns out I had the right idea, but I forgot to call setIsVisible(1) - rookie mistake!
upvoted 0 times
Natalya
3 days ago
B) Call $attribute->setIsSystem(0); in data patch after creating the attribute
upvoted 0 times
...
Mira
3 days ago
B) Call 3attribute->setIsSystem(0); in data patch after creating the attribute
upvoted 0 times
...
Lashandra
7 days ago
A) Define the field in MyCompany MyModule/view/admintml\\ui_component\\category_form xml
upvoted 0 times
...
Sanda
20 days ago
A) Define the field in MyCompany MyModule/view/adminhtml/ui_component/category_form xml
upvoted 0 times
...
...
Juan
1 months ago
Hmm, I'm not sure if that's the only step. Didn't we also need to call setIsSystem(0) in the data patch? Just creating the field in the layout file might not be enough.
upvoted 0 times
...
Leonor
1 months ago
Wow, this is a tricky one! I think the answer is D - defining the field in the catalog_category_edit.xml layout file. You gotta make sure that Magento knows where to display your custom attribute.
upvoted 0 times
Ruby
3 days ago
D) Define the field in MyCompany MyModule/view/adminhtml/layout/catalog_category_edit.xml
upvoted 0 times
...
Cornell
7 days ago
C) Call Sattribute-setIsVisible(1): in data patch after creating the attribute
upvoted 0 times
...
Shanda
13 days ago
B) Call 3attribute->setIsSystem(0); in data patch after creating the attribute
upvoted 0 times
...
Ashlee
15 days ago
A) Define the field in MyCompany MyModule/view/adminhtml/ui_component/category_form xml
upvoted 0 times
...
...
Roy
2 months ago
I'm not sure, but I think option D) Define the field in MyCompany MyModule/view/adminhtml/layout/catalog_category_edit.xml could also be a valid solution
upvoted 0 times
...
Nieves
2 months ago
I agree with Delfina, because defining the field in the xml file should make the attribute show up on the Category Edit Page
upvoted 0 times
...
Delfina
2 months ago
I think the correct answer is A) Define the field in MyCompany MyModule/view/adminhtml/ui_component/category_form xml
upvoted 0 times
...

Save Cancel