A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on
the pipeline dictionary with the name myProduct.
Which code sample will achieve this?
A.
ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
B.
ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
C.
ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
D.
ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service
used in the application and notices that there are too many instances of unavailability.
Which two solutions are possible options to reduce the unavailability of the service? (Choose two.)
A.
Modify the code that makes the request to the external service to be wrapped in a try / catch block.
B.
Change the code that makes the request to set the throwOnError attribute, of the service, to be true
C.
Increase the web service time out.
D.
Update the external service to have a faster response time.
Modify the code that makes the request to the external service to be wrapped in a try / catch block.
Update the external service to have a faster response time.
A developer is working on a new site for the U.S based on an existing Canadian site. One of the
requirements is a change to the address form. The current Canadian form has an <options> list with the
correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
• Have an <options> list with the correct two-letter abbreviation for the states in place of the
province field.
• Set the U.S site locale.
• Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
A.
Create a copy of existing address.xml file in the default folder. Rename that file to
adres_US.xml
B.
Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in
the new folder
C.
Create a copy of existing address.xml file in the default folder. Rename that file to
address_en_US.xml
D.
Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file
in the new folder.
Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file
in the new folder.
A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:
Which modification allows the requests to successfully execute?
A.
Change the "resource_id" value to: "/baskets/*/items".
B.
Change the "write_attributes" value to: "(+items)".
C.
Change the "read_attributes" value to: "(items)".
D.
Change the "methods" value to: ["get", "post"].
Change the "resource_id" value to: "/baskets/*/items".
A Digital Developer has identified that the code segment below is causing performance problems.
What should the Developer do to improve the code?
A.
Use a system attribute instead of the isOnSaleFlag custom attribute.
B.
Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
C.
Breaks the process into separate loops.
D.
Avoid using an Iterator and use a Collection instead.
Breaks the process into separate loops.
Page 4 out of 45 Pages |
Previous |