on 2024 Aug 08 8:47 AM
Hello,
I would like to add a custom action similar to this example to the application Manage Sales Orders v2. Is this feasible?
This is what I've tried so far:
I have created an adaptation project in Visual Studio through the generator. Now when I try to preview or edit it (both through the graphic interface and through npm run start and npm run start-editor) the launchpad opens with the error "App could not be opened because the SAP UI5 component of the application could not be loaded. Failed to load UI5 component for navigation intent "#app-preview" ".
This is from the network tab of the devtools:
Title: ErrorMessage: App could not be opened because the SAP UI5 component of the application could not be loaded.Details: { "info": "Failed to load UI5 component for navigation intent \"#app-preview\"", "technicalMessage": "failed to load 'sap/cus/sd/lib/slsdoc/manage/library.js' from ../resources/sap/cus/sd/lib/slsdoc/manage/library.js: script load error\nModuleError: failed to load 'sap/cus/sd/lib/slsdoc/manage/library.js' from ../resources/sap/cus/sd/lib/slsdoc/manage/library.js: script load error\n at we (http://localhost:8080/resources/sap-ui-core.js:10:6645)\n at ge.failWith (http://localhost:8080/resources/sap-ui-core.js:10:4709)\n at HTMLScriptElement.i (http://localhost:8080/resources/sap-ui-core.js:10:10498)\nCaused by: Error: script load error\n at HTMLScriptElement.i (http://localhost:8080/resources/sap-ui-core.js:10:10540)"}
There are no errors in the console in vscode
I have tried change #app-preview to #SalesOrder-manageV2 in the package.json file but I got the same error with #SalesOrder-manageV2
Does anyone have any ideas what could I try?
Thanks,
Ben
@bwal ,
Thanks for the question. I don't think you can add a custom action (Excel upload) to the standard Fiori application - be it Private or Public cloud.
Also, the Fiori application don't have extension capability that supports this action. Hope this helps.
Best Regards,
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@bwal, Thanks for the response. Creating the Adaptation projects in BAS is very much possible and way forward for partners and customers who needs to to tailor the standard to their individual needs. However Developers can leverage the concepts of SAPUI5 flexibility by creating adaptation projects for freestyle SAPUI5 or SAP Fiori elements apps in BAS but at the same time, the standard SAP Applications should remain untouched. (Technical possibility still may exists).
Once your adapation projected is tested successfully and the same can be deployed and integrated with SAP FLP. . See details in SAP Help: SAP Business Application Studio - Extending SAP Fiori Applications.
https://sapui5.hana.ondemand.com/sdk/#/topic/52fc48b479314d0688be24f699778c47
Developer Adaption : https://help.sap.com/docs/UI5_FLEXIBILITY/430e2c1a4ff241bc8162df4bf51e0730/a3e9d764dc8841468f73fd7ca...
Best Regards,
Sri
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.