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.
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
is working on a reply...