November Happy Hour will be moved to Thursday December 5th.

Class EPiNotesController

Inheritance
System.Object
EPiNotesController
Implements
Namespace: EPiServer.Cms.Shell.UI.Controllers.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
[Gadget(Title = "Notes", ClientScriptInitMethod = "epi.notes.init", NameResourceKey = "/shell/cms/notesgadget/title", IconUrl = "ClientResources/Notes/Icon.png", Name = "EPiServer.Cms.Shell.UI.Controllers.NotesController")]
[ScriptResource("ClientResources/Notes/Notes.js")]
[VerifyGadgetOwner]
[Obsolete("The Episerver gadget framework has been deprecated and was replaced by the Episerver Components. Please use the new Store pattern to serve the client side components.")]
public class EPiNotesController : Controller, IGadgetNotify

Constructors

EPiNotesController(DynamicDataStoreFactory, LocalizationService)

Declaration
public EPiNotesController(DynamicDataStoreFactory storeFactory, LocalizationService localizationService)
Parameters
Type Name Description
DynamicDataStoreFactory storeFactory
LocalizationService localizationService

Properties

Storage

Declaration
public DynamicDataStore Storage { get; }
Property Value
Type Description
DynamicDataStore

Methods

Configure(Guid)

Declaration
[GadgetAction(TextResourceKey = "/EPiServer/Shell/Resources/Texts/Edit")]
public ActionResult Configure(Guid gadgetId)
Parameters
Type Name Description
System.Guid gadgetId
Returns
Type Description
System.Web.Mvc.ActionResult

Index(Guid)

Declaration
public ActionResult Index(Guid gadgetId)
Parameters
Type Name Description
System.Guid gadgetId
Returns
Type Description
System.Web.Mvc.ActionResult

Save(String, Guid)

Declaration
public ActionResult Save(string content, Guid gadgetId)
Parameters
Type Name Description
System.String content
System.Guid gadgetId
Returns
Type Description
System.Web.Mvc.ActionResult

StoreConfiguration(Guid, NotesData)

Declaration
public ActionResult StoreConfiguration(Guid gadgetId, NotesData data)
Parameters
Type Name Description
System.Guid gadgetId
NotesData data
Returns
Type Description
System.Web.Mvc.ActionResult

Explicit Interface Implementations

IGadgetNotify.OnDeleted(Guid)

Declaration
void IGadgetNotify.OnDeleted(Guid gadgetId)
Parameters
Type Name Description
System.Guid gadgetId

Implements

Extension Methods