AD0-E716 · Question #35
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…
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.
How the community answered
(30 responses)- A17% (5)
- B10% (3)
- C73% (22)
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]
Topics
Community Discussion
No community discussion yet for this question.
