Questions tagged [commands]

For questions related to Sitecore commands, including the configuration, implementation, use and troubleshooting of both native and custom commands

Filter by
Sorted by
Tagged with
0
votes
1answer
107 views

How to refresh a selected item on a custom menu click

I have a custom menu written to copy the item language version to another language. The current behavior is - when I click on the menu it copies the current language version to another language ...
0
votes
0answers
46 views

Sheer UI OnLoad Method to run another method to Dynamically Change UI Text

I am currently working on a custom DialogForm that will display a progress status based on a particular number of Sitecore Job Progress running in the background and dynamically updating the UI part ...
2
votes
1answer
58 views

Run Selected Pipeline Batches Command as Admin User

I have a pipeline batch which sync external data into Sitecore items. I extend RunPipelineBatchCommand to run as admin user, default is running as Context.User: protected override User ...
-1
votes
1answer
185 views

Experience Editor rendering context

We are creating some custom buttons on the ribbon of a rendering in the experience editor that when clicked will trigger custom events listed in the commands.config. The command executes just fine, ...
3
votes
1answer
82 views

Sitecore task for multilingual site in single node

I have a multilingual site with single node approach. Requirement is simple, need to create a task to fetch all items and generate a XML file. I have created a Sitecore scheduled job and command and ...
9
votes
1answer
480 views

Is there a way to create a custom experience button (or edit frame button) that opens a dropdown with additional experience editor buttons?

I have a situation where a rendering could use a set of customization buttons that are all related. Rather than filling up the rendering's edit frame, I'd like to add a button that can expand into a ...
1
vote
1answer
258 views

Download File In Command

I'm writing a command that should end up downloading a file for the user who clicks the button associated with the command. SheerResponse.Download requires a file and there doesn't seem to be an ...
5
votes
2answers
310 views

How do you extend the item:new command without breaking a previous patch for it?

In my example, Sitecore PowerShell Extensions (SPE) patches the command in order to provide insert options. Reviewing the ShowConfig.aspx I see the following: <command name="item:new" type="...
6
votes
2answers
1k views

How to duplicate or copy item only with the latest language versions?

Our customer had a request for possibility to copy or duplicate an item without a previous language versions. Only the latest versions have to be created. Check my solution on http://sitecore-masters....
1
vote
2answers
335 views

Custom field type in Sitecore 8. After completing the command successfully, I'd like to enable the save button

I have a custom field type in Sitecore 8. I use the Context.ClientPage.SendMessage to call the contenteditor:save command. This works, but forces the page to reload producing a warning dialogue to ...
11
votes
3answers
2k views

How do I display an error dialog from content editor command?

How do I show an error style dialog (i.e. with red error logo and the expand text) from a content editor command? I've tried to use SheerResponse.ShowError(). The content editor greys out like it ...