Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
1 months 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
2 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
Selene
5 days ago
C) Call Sattribute-setIsVisible(1): in data patch after creating the attribute
upvoted 0 times
...
Portia
13 days ago
C) Call $attribute->setIsVisible(1); in data patch after creating the attribute
upvoted 0 times
...
Natalya
19 days ago
B) Call $attribute->setIsSystem(0); in data patch after creating the attribute
upvoted 0 times
...
Mira
19 days ago
B) Call 3attribute->setIsSystem(0); in data patch after creating the attribute
upvoted 0 times
...
Lashandra
23 days ago
A) Define the field in MyCompany MyModule/view/admintml\\ui_component\\category_form xml
upvoted 0 times
...
Sanda
1 months ago
A) Define the field in MyCompany MyModule/view/adminhtml/ui_component/category_form xml
upvoted 0 times
...
...
Juan
2 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
2 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
19 days ago
D) Define the field in MyCompany MyModule/view/adminhtml/layout/catalog_category_edit.xml
upvoted 0 times
...
Cornell
23 days ago
C) Call Sattribute-setIsVisible(1): in data patch after creating the attribute
upvoted 0 times
...
Shanda
29 days ago
B) Call 3attribute->setIsSystem(0); in data patch after creating the attribute
upvoted 0 times
...
Ashlee
1 months 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
3 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77