nerdexam
Adobe

AD0-E716 · Question #34

An integration named Marketing is created on the Adobe Commerce instance. The integration has access on Magento_Customer:: customer resources and the access token is xxxxxx. How would the rest API…

The correct answer is B. Passing integration name and access token as http auth credentials. According to the Magento Stack Exchange answer, UI components are used to render various elements on Magento admin pages, such as grids, forms, buttons, etc. UI components are defined in XML files that are located in the view/adminhtml/ui_component directory of each module. To…

Security

Question

An integration named Marketing is created on the Adobe Commerce instance. The integration has access on Magento_Customer:: customer resources and the access token is xxxxxx. How would the rest API be called to search the customers?

Options

  • AUsing the integration access token as Bearer:
  • BPassing integration name and access token as http auth credentials:
  • CType: application/json'

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    91% (51)
  • C
    5% (3)

Explanation

According to the Magento Stack Exchange answer, UI components are used to render various elements on Magento admin pages, such as grids, forms, buttons, etc. UI components are defined in XML files that are located in the view/adminhtml/ui_component directory of each module. To add a custom logic to render a column in a grid, the developer should create a custom class extending MagentoUiComponentListingColumnsColumn and add the custom logic within the prepareDataSource method. This method receives an array of data sources and modifies them according to the column logic. The developer should also add an attribute class to the column node within the module's customer_listing.xml file and specify their custom class name as its value. Verified Reference: https://magento.stackexchange.com/questions/317821/how-to-add-custom- logic-to-render-a-column-in-a-grid-in-magento-2

Topics

#REST API#integration tokens#Bearer token#API authentication

Community Discussion

No community discussion yet for this question.

Full AD0-E716 Practice