Free AD0-E704 Exam Braindumps (page: 4)

Page 3 of 23

Suppose you are working on a specific uicomponet form where front-end customers can update their name and phone number only when the admin user sets the editable_field_flag to 1 for his submitted data from the backend. According to this flag, when loading the data in the form for front- end users, how would you check and customize to enable/disable the name and phone number fields?

  1. In uicomponet xml, under fieldset node, include the Form Provider Javascript component "Magento_Ui/js/form/provider" and extend it to customize the specific fields when data is being populated by it.
  2. In uicomponet xml, under fieldset node, include the Form Provider Javascript component "Magento_Ui/js/form/dataProvider" and extend it to customize the specific fields when data is being populated by it.
  3. In uicomponet xml, under DataSource node, include the Form Provider Javascript component "Magento_Ui/js/form/provider" and extend it to customize the specific fields when data is being populated by it.
  4. In uicomponet xml, under DataSource node, include the Form Provider Javascript component "Magento_Ui/js/form/dataProvider" and extend it to customize the specific fields when data is being populated by it.

Answer(s): C



Suppose you are building an inquiry form using uicomponent. It has a feature that customer can edit the submitted data later if he wants to edit.
What should the logic here to implement, in order to enable the form for re-edit:

  1. DataProvider class provides execute() method which is responsible for data loading.
  2. DataProvider class provides getDataSourceData() method which is responsible for data loading.
  3. DataProvider class provides prepare() method which is responsible for data loading.
  4. DataProvider class provides getData() method which is responsible for data loading.

Answer(s): D



Suppose you need to add a custom css file in layout XML in such a way that it should load asynchronously to improve the page load performance.
What is the correct attribute for this:

  1. async
  2. defer
  3. rel
  4. ie_condition

Answer(s): B



You defined a custom layout file 1column-2footers.xml under /view/frontend/layouts.xml. Now, what is the conventional path to creating the custom layout file 1column-2footers.xml?

  1. <module_dir>/view/frontend/page_layout
  2. <module_dir>/view/frontend/layout
  3. <module_dir>/etc/frontend/page_layout/
  4. <module_dir>/etc/frontend/layout

Answer(s): A






Post your Comments and Discuss Adobe AD0-E704 exam with other Community members:

AD0-E704 Discussions & Posts