Skip to Content

Disable drill down navigation for CDS view

We have a Fiori app with CDS views and annotations and do not want to utilize the drill down navigation for our app at all. Is there anyway to disable this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer

    Hello Kelly,

    In the manifest.json of your app remove the navigation option under pages.This will remove the details page navigation. Keep a backup of your manifest.json before you make the changes.

        "sap.ui.generic.app": {
            "_version": "1.3.0",
            "pages": [
                {
    
                            "navigation": {
                                "display": {
                                    "path": "sap.apps.crossNavigaton",
                                    "target": "NavigationTarget"
                                }

    Thank You,

    Sai

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sai, thanks for your response. Interestingly enough though, here's the sap.ui.generic.app section in the manifest.json below. I don't see the navigation block there at all. Is it some default thing that I need to put in there and then disable it?

      "sap.ui.generic.app": {
      		"pages": [
      			{
      				"entitySet": "Customers",
      				"component": {
      					"name": "sap.suite.ui.generic.template.ListReport",
      					"list": true
      				},
      				"pages": [
      					{
      						"entitySet": "Customers",
      						"component": {
      							"name": "sap.suite.ui.generic.template.ObjectPage"
      						}
      					}
      				]
      			}
      		]
      	},
      
  • 5 days ago

    Sai - just figured it out. I needed to remove this section in the manifest.json:

    "pages": [
    					{
    						"entitySet": "Customers",
    						"component": {
    							"name": "sap.suite.ui.generic.template.ObjectPage"
    						}
    					}
    				]

    That gets the section down to just this, which is exactly what I needed. Thanks!

    "sap.ui.generic.app": {
    		"pages": [
    			{
    				"entitySet": "Customers",
    				"component": {
    					"name": "sap.suite.ui.generic.template.ListReport",
    					"list": true
    				}
    			}
    		]
    	}
    
    Add comment
    10|10000 characters needed characters exceeded

  • 6 days ago

    Hi Kelly,

    If I am not wrong, you want to disable navigation to other fiori app via hyperlink. Which is enabled by CDS annotation in standard fiori app.

    If my understanding is correct, you can only assign user specific authorization object from security side and user will not see navigation. In CDS, all the authorizations are controlled by DCL. Go inside your DCL view of the same name as of CDS (eg : I_PURCHASINGCATEGORY). You can notice the code ( aspect pfcg_auth to which objects and activity type (display,create etc))

    Regards,

    Tejas

    Add comment
    10|10000 characters needed characters exceeded

  • 6 days ago

    Hi Tejas, thanks for your quick response. No, I'm not referring to navigation to different Fiori apps. I'm specifically referring to the drill down navigation that seems to be there by default when using the WebIDE with a List Report Application. Here's a screenshot below. When the user clicks on that row, it goes to a blank page that we haven't defined yet. I'd like to just disable that functionality until a later date. (It also shows the little arrow at the end of each row designating that there is drill down navigation.)

    Add comment
    10|10000 characters needed characters exceeded