on 12-07-2017 10:45 AM
hi guys,
I´m pretty new in this SAP fiori world and now I´m trying to extend a SAP Fiori Crud Application. I´ll briefly explain what the app shoud do:
From here on I need your help: In this new View I should have the possibility to load all the available project, in order to add one or more project for that worker which was originally selected in the MasterView.I tried to load some data in these new view, just to see if everything was loaded in the right way before starting with all the List/Checkboxes work. For example I loaded in this new view the WorkerSet (the same which appears in the Master View) and this works, but as soon as I try to load the ProjectSet (the same which is shown in the DetailView) no data are shown! I don´t know what I´m doing wrong!!
Here you find the last part of the manifest.json (I hope i set everything in the right way for "routes" and "targets")... PS: "Mitarbeiter" means "worker" 😉
here is the Button in the Detail.view.xml:
here ist the Detail.controller.js for the on press event of the button:
In the addProject.controller.js i haven´t done anything: could it be the onInit function my solution? If yes, I still don´t understand why the WorkerSet is shown, while the ProjectSet isn´t....
Let me know if you need more information, thanks in advantage to help me the solution!!
Have a nice day!!!
Dear Tatiana,
a very simple solution can be found in:
https://github.com/sapmentors/SITregParticipant
where I've implemented a very similar requirement. Here the so-called Co-Organizer has to be added. I've created an input field on top of the table and enabled the Save button beside the field as soon as data is filled.
Please check the controller code to see how the data is processed. I would suggest that you add a value help to the field based on https://ui5.sap.com/#/sample/sap.m.sample.InputKeyValue/preview.
Best regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you show your network call for ProjectSet in Detail view and AddNew view? And also show what are all the parameters you're passing to get the list.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.