SAP Fiori Elements : How do you handle side effects for Custom Section/Input fie...
source link: https://answers.sap.com/questions/13797888/sap-fiori-elements-how-do-you-handle-side-effects.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
SAP Fiori Elements : How do you handle side effects for Custom Section/Input fields
How can one handle side effects for custom sections(created through extension point), or custom input fields ?
Using SAP Fiori Element -Object Page and I have created a custom section using Extension Points but how do I handle the side effects for the edit scenarios ?
Same qs - https://answers.sap.com/questions/13636190/how-can-side-effects-be-added-for-custom-fields-in.html
Hello Dipankar,
if you want to update a buildingBlock field (is this what is meant with custom?) you should be fine with any usual sideEffect implementation updating the model of the same property. If you have a totally clean sap.m.input you probably need to have some implementations yourself for the update the model as we cannot generically handle these.
For the first check out:
https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/advancedFeatures/guidance/guidanceSideEffects
For the latter:
https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.model.odata.v4.ODataModel%23methods/refresh
Best regards,
Julian
Before answering
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK