Try our conversational search powered by Generative AI!

Tahir Naveed
Nov 17, 2016
  4983
(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
Integrating HubSpot CRM without the MA Connector

Have HubSpot CRM? Want to push user data into it from Optimizely? Don’t have any personalisation requirements with that data? Don’t want to pay $80...

Matt Pallatt | Jun 27, 2024

Keeping the website secure by updating external packages

Did you see the latest warning from Optimizely to update this package with a critical security warning? https://world.optimizely.com/documentation/...

Daniel Ovaska | Jun 27, 2024

Optimizely CMS image anonymization now available for Linux!

The famous image anonymization add-on for Optimizely CMS, with at least 5 downloads, is now finally available for use on Linux. Supports simultaneo...

Tomas Hensrud Gulla | Jun 25, 2024 | Syndicated blog

Remove a segment from the URL in CMS 12

Problem : I have created thousands of pages dynamically using schedule jobs with different templates (e.g. one column, two columns, etc..) and stor...

Sanjay Kumar | Jun 21, 2024