Tahir Naveed
Nov 17, 2016
  5105
(5 votes)

Adding a menu item into Context Menu - EPiServer 10.1 way

A while back, I blogged about how to customise the context menu in EPiServer 7. The code used to extend the context menu was not an approach supported by EPiServer and it was not guaranteed to work with any future releases.

I was looking at the EPiServer documentation and came accross plugin areas document in which EPiServer explains the introduction of "Plug-in areas" for EPiServer 10.1 and higher which can be utilised to customise context menu both for commerce and cms.

The end result will be same and will look like

Image Blog_1.png

The VS project looks like 

Image VS.png

The gist for the code is here.

Please note that this code will only work for EPiServer.CMS.UI version 10.1 and higher.

It is a very simple code but if you have any questions please feel free to ask.

Nov 17, 2016

Comments

Sandeep Narayan
Sandeep Narayan Nov 18, 2016 12:34 PM

Nice post Tahir

Please login to comment.
Latest blogs
Optimizely Forms: You cannot submit this form because an administrator has turned off data storage.

Do not let this error message scare you, the solution is quite simple!

Tomas Hensrud Gulla | Oct 4, 2024 | Syndicated blog

Add your own tools to the Optimizely CMS 12 admin menu

The menus in Optimizely CMS can be extended using a MenuProvider, and using the path parameter you decide what menu you want to add additional menu...

Tomas Hensrud Gulla | Oct 3, 2024 | Syndicated blog

Integrating Optimizely DAM with Your Website

This article is the second in a series about integrating Optimizely DAM with websites. It discusses how to install the necessary package and code t...

Andrew Markham | Sep 28, 2024 | Syndicated blog

Opticon 2024 - highlights

I went to Opticon in Stockholm and here are my brief highlights based on the demos, presentations and roadmaps  Optimizely CMS SaaS will start to...

Daniel Ovaska | Sep 27, 2024