SAP Certified Associate - SAP Fiori Application Developer C_FIORD_2502 Question # 33 Topic 2 Discussion
C_FIORD_2502 Exam Topic 2 Question 33 Discussion:
Question #: 33
Topic #: 2
You develop an SAPUI5 app that can be extended. To allow your customer to customize notifications, you set up a hook method. What activities are required to set up a hook method?
Note: There are 3 correct answers to this question.
A.
Modify the bootstrap option to allow multi-layer extensions of the custom code.
B.
Identify a strategic location in the controller for the customized code.
C.
Create a .js file in the Util folder to allow the customer to add custom code.
D.
Define a new function name ensuring it is reserved for the extension.
E.
Add a code snippet to check if the method exists and execute it.
Provide a placeholder for custom logic, typically in a utility/helper file.
SAP Extension Practices:
“To use hook methods, define optional logic spots and allow override in custom layer.”
Modifying bootstrap is unrelated. Function names do not need special reservations—convention suffices.
[: SAP Extension and Hook Method Guide., ===========]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit