Try our conversational search powered by Generative AI!

What the the available pluginareas for a ViewConfiguration?

Vote:
 

Hi!

In this article:

https://world.episerver.com/blogs/Duong-Nguyen/Dates/2013/12/Custom-views-and-plugin-areas-in-EPiServer-75/

I read this:

"Also, you may want to add your view to some other places, for instance the Tool button under the Content Settings Header, or the Publish/Option menu."

Then in the example it is shown how to add an item in the Tools menu.

 PlugInAreas = new string[] { "toolButton" };
commandregistry.registerProvider("epi.cms.contentdetailsmenu", new AvailableViewsCommandProvider({
        plugInArea: "toolButton"
}));

I am interested in the "Publish/Option menu". What is the PlugInAreas name for that and what command is used to register the provider?
I cannot find any documentation about this any where?

Thanks!

/Kristoffer

#246544
Jan 08, 2021 16:26
Vote:
 

Hi Kristoffer,

I looked in the sourcecode for the EPiServer.Labs.BlockEnhancements and it looks like this is the correct name (if I understud you correctly)

epi.cms.publishmenu

Source: https://github.com/episerver/EPiServer.Labs.BlockEnhancements/blob/df5832047e4459bf0998f103aabe7dd417cee8d5/src/AlloyMvcTemplates/modules/_protected/episerver-labs-block-enhancements/1.0.0/Scripts/publish-with-local-content-items/initializer.js

-Sebastian

#246571
Jan 09, 2021 12:51
Vote:
 

Now that is a great start. I guess I just need to find out what the pluginarea is called. I will try to look into BlockEnhancement code and see if I can find it.

I'm still curious if this is documented any where?

Thanks!

/Kristoffer

#246573
Jan 09, 2021 13:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.