Adobe
AD0-E716 · Question #35
AD0-E716 Question #35: Real Exam Question with Answer & Explanation
The correct answer is C. The developer has to add a formkey for the new export option.. The developer has to add a formkey for the new export option because the formkey is required for security reasons. Without the formkey, the request will be rejected and redirected to the dashboard page. Verified Reference: [Magento 2.4 User Guide] [Magento 2.4 DevDocs]
Question
An Adobe Commerce developer is tasked with adding an new export option for the order grid, they have added the following code for the export button within sales_order_grid.xml: Upon testing, they are getting redirected, what would be a cause for this error?
Exhibit
Options
- AThe option's uri attribute is not valid.
- BThe layout cache needs to be refreshed.
- CThe developer has to add a formkey for the new export option.
Explanation
The developer has to add a formkey for the new export option because the formkey is required for security reasons. Without the formkey, the request will be rejected and redirected to the dashboard page. Verified Reference: [Magento 2.4 User Guide] [Magento 2.4 DevDocs]
Community Discussion
No community discussion yet for this question.
