SAP
C_FIORDEV_21 · Question #8
You develop an SAPUI5 app that can be extended. To allow your customer notifications, you set up a hook method. What activities are required to implement a hook method? (3 answers)
The correct answer is B. Define a new function name ensuring it is reserved for the extension C. Identify a strategic location in the controller for the customized code D. Add a code snippet to check if the method exists and execute it. See the full explanation below for the reasoning.
Question
You develop an SAPUI5 app that can be extended. To allow your customer notifications, you set up a hook method. What activities are required to implement a hook method? (3 answers)
Options
- ACreate a js file in the Util folder to allow the customer to add custom code
- BDefine a new function name ensuring it is reserved for the extension
- CIdentify a strategic location in the controller for the customized code
- DAdd a code snippet to check if the method exists and execute it
- EModify the bootstrap option to allow multi-layer extensions of the custom code
How the community answered
(30 responses)- A10% (3)
- B70% (21)
- E20% (6)
Community Discussion
No community discussion yet for this question.