Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vinod 22 posts 83 karma points
    Jan 23, 2015 @ 10:12
    Vinod
    0

    Display my Custom MVC Page in Custom Section in Umbraco 7.2.1

    Hi,

    I am using Umbraco 7.2.1 version and trying to create a custom section and the custom section should display an Employee Listing Page which is created in MVC. I added the below code in Global.ascx and entered the "EmployeeList" in umbracoUser2app table and I got the section available in Umbraco.

       public class CreateContent : ApplicationEventHandler
            {
                protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
                {
                      var sectionService = applicationContext.Services.SectionService;
                sectionService.MakeNew("EmployeeList", "EmployeeList", "awesome-icon", 10);
                }
            }

    But how to display my Employee Listing page when I click on Employee Tab (I want something like below image when My custom tab is clicked.).

     

    But as of now, when I click on EmployeeList tab I get a blank page. How do I map Employee Tab and my page. Is there any way I could do that.

    Thanks,
    Vino

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies