Need to add "publish" feature to the page editor, item editing section. (Under the "More" section would be ideal). How can I do this?
相关问题
- How to pass “[Sitecore Mobile SDK] Data from the i
- How can I remove duplicated page events in Sitecor
- Spoof an IP address to test GEOIP lookups with Sit
- How to get a Multilist with Search field to not di
- Page.Header.Controls.Add(control) is adding contro
相关文章
- Sitecore set/change default language from 'en&
- Sitecore OMS - achieving a goal on a form submissi
- Get number of components in placeholder, Sitecore
- Sitecore text search in PDF or Word documents
- sending data from one sublayout to another in site
- The model item passed into the dictionary is of ty
- How to implement Solr into Sitecore
- Sitecore enables accessing child node around paren
We can achieve it without any code change.
Add the above entry in Commands.config file. This file is available in include folder.
Thanks
Fenil
First you need to create a command class. The simplest version would be:
Register new command in
Sitecore.config
(orCommands.config
):Then:
/sitecore/content/Applications/WebEdit/Common Field Buttons/Edit related item
Publish related item
Click
property of this item tomy:publish
Header
,Icon
,Tooltip
)