We have created a new .aspx page to download some files from which are created by another service in the root node. We have placed this page in the *sitecore\admin* folder and is working fine. the path to the page is sitecore\admin\importFile

Is there a way we can add a new button to sitecore admin page which can then be linked to the new .aspx page without modifying the code? enter image description here

Sitecore Version is 9.3

  • Which Sitecore version?
    – Marek Musielak
    Jan 29 at 7:28
  • @MarekMusielak: Sitecore version is 9.3
    – Shaurya
    Jan 29 at 8:50
  • 2
    does this help you? sitecore.stackexchange.com/questions/17109/… Jan 29 at 9:01
  • @GauravAgarwal: I was able to debug this part. It seems like the code behind file default.aspx.cs has the links which are getting displayed on the sitecore/admin page. But then how is sitecore putting these pages in different sections on the admin page? The ask is can we add a new link to the admin page without overriding any init function? I was of the opinion that sitecore is maybe handling the links from core database.
    – Shaurya
    Jan 29 at 10:36

1 Answer 1


Ideally, you can't add that as it is a precompiled JS file that creates this and stacks all those links.

But below could be performed to get your link added as a Menu to the Administrator tool page.

  1. Go to the "<wwwroot>\sitecore\admin".
  2. Then you open a javascript file called "main.bundle.js" This is not an ideal file to modify but you can try if it doesn't break after testing.
  3. Then you could see something like below. In this, you need to add your code under the section as highlighted.

enter image description here

  1. Then you add the new link you want and this will make sure the link comes and stacks like the menu on the page, make sure you add that under the correct category or you add a new category as well.
  2. Sample code for you possibly as below.
title: "Custom Pages",
    items: [{
        legacy: !0,
        link: "/sitecore/admin/new.aspx",
        title: "New Page",
        description: "New Custom Page"

Hope this might help.

  • Thanks for the infor. Decompiling the code behind didn't give me anything and I was not able to find the mentioned JS file. Now I understand where the different sections on the admin page are coming from.
    – Shaurya
    Jan 30 at 4:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.