on 2019 May 12 11:25 PM
Hi gurus,
I am extending the SAP Fiori My Travel Request application using WebIDE through extensibility panel.
I need to extend DetailForm view and its controller.
I extended DetailForm view, I run the extended app from WebIDE and everythings works.
Then I just extended its controller without adding my code. Now, when I run the extended app and I try to create a new travel request or editing a travel request i have this error:
Any idea? The manifest is automatically generated by WebIDE through extensibility panel.
Thank you
Patrizia
Request clarification before answering.
The problem should be into these libraries:
jQuery.sap.require("travel.request.create.util.Formatters"); jQuery.sap.require("travel.request.create.util.InputHelper"); jQuery.sap.require("travel.request.create.util.FileUploadHelper");
because i am using Internet Explorer browser (unfortunatelly it is not possibile install chrome or use portable chrome or other software on this system for security policies)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
unfortunatelly I have the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Patrizia,
Is your path for the controller properly mentioned in the manifest ?
I think that the controllers would be specified under the controllers folder in Web IDE.
So path to your controller in manifest should be pointing to controllers folder instead of view.
controllerName : "travel.request.create.FIN_TR_CREEXtension.controller.DetailFormCustom"
You will need to do the same for all the controllers you extend.
Thanks,
Vaibhav Maheshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Patricia,
Can you please share the extended view and controller code ?
I think the issue could be with the namespace.
We might need to manually add the namespace for the controller property in the view .
For Example :
<mvc:Viewxmlns:mvc="sap.ui.core.mvc"xmlns="sap.m"controllerName="namespaceofyourapp.view.DetailFormCustom">
Thanks,
Vaibhav
User | Count |
---|---|
78 | |
29 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.