on 09-28-2018 2:57 AM
Hi All,
I have created Custom List report application and I am trying to navigate to "Worklist template based report" using @DataFieldForIntentBasedNavigation in my CDS , which in turn enables quick link in my app..
I am able to navigate to Worklist app which shows the entire report.
Issue : While navigating if i click on particular userid, the value is passed as key field in the navigation url, but the data is not filtered out, so i get the entire report..
So the url formation is , fioriurl/semanticObject-Action?basicSearch=&semanticObject=1&UserID=XYZ&sap-xapp-state=AS7QFC0U3ULZC54CILDHTSM6MV2AMNM4LINZK3LJ
Can anyone help on how to pass the parameter ? So that I can open my Worklist report with filter on Userid ...Or i need to pass these parameters in my target mapping of 2nd app in launchpad designer.
Thanks !
PS : I have already gone through below documents for navigation, but none talks about how to pass parameter in URL. I understand parameters can be passed in target mapping of Tile configuration, but do we have any supporting documents on the same ?
https://www.youtube.com/watch?v=muQoy213qes
jocelyn.dart jamie.cawley prasita.prabhakaran Hope you can contribute to this discussion 🙂
This requirement was achieved using Consumption.semanticObject: 'SemanticObject' and proper association. I also changed a bit of my design by changing my target from Worklist to List report template, since worklist template doesn't have selection fields.
Thanks all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well done! Please blog it Tejas. Although there is documentation on all these points having a use case and story that brings it together would be very helpful for others. Let me know if you do and I will include it in the Fiori elements wiki. https://wiki.scn.sap.com/wiki/display/Fiori/Fiori+elements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I will, but once I have time 😞
I am also following this blog : will update if i get any success.
Update : I followed the blog, and found that author has achieved the functionality using custom code in controller and views and manifest. Though it can be achieved using cds annotations and target mapping. Still searching for best solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try adding the parameters as an intent parameter on the tile. Make sure it matches exactly the field in the entity set. It could also be that the necessary code in not in the app. Lots of relevant info detailed at
https://wiki.scn.sap.com/wiki/display/Fiori/Fiori+elements
Regards,
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie,
I did add the parameters in my target mapping. The Key field in both my CDS 1 and navigating_to_CDS is same, UserID. This parameter is added in my target mapping of the target application. The app is called by it's Semantic object from my abap cds using consumption.semanticObject annotation.
I also followed standard Fiori app and I am able to navigate to Object page etc. The issue comes when i want to navigate to "Worklist" template.
Regards,
Tejas
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.