Hot answers tagged

7 votes

How to avoid paging in Sitecore Workbox

The simplest option would be to set the 'Items per page' to a higher value (you can choose 10, 25, 50, 100 or All) You could potentially set that as the standard by running something like Registry....
user avatar
  • 1,118
5 votes
Accepted

Sitecore Ribbon Shortcuts

It all depends on your requirement. When to use the Panel Using the panel, it will act as a container where you can add labels, button and so on via code. Let's take the example for the Page Size. ...
user avatar
4 votes

Workbox always hides content tree

It is expected Sitecore 9 behavior. Content tree checkbox is unchecked when either you uncheck it in Content Editor and it was saved in user options, or Content Editor is opened in popup mode.(It is ...
user avatar
  • 3,386
3 votes
Accepted

Sitecore workflow approve related items

If you want to publish related item of page so in "Auto Publish" action in parameters field, you can set "related=1" which will publish related items as mentioned in this link http://sitecorepromenade....
user avatar
  • 1,788
3 votes
Accepted

Workbox visibility for locked items

Based on some discussion with Sitecore support, I learned that workbox items indeed are not supposed to be visible when locked unless you are an admin or the person who locked the item. Specifically ...
user avatar
  • 1,045
2 votes

User accidentally 'Approved All' in workflow - need to revert or see approved items

There are various ways to revert the changes. But I would suggest to check Sitecore logs and you will be seeing something similar to this. 10748 10:36:31 INFO AUDIT (sitecore\TestUser): Execute ...
user avatar
2 votes
Accepted

Clear Workbox's Registry constant

When you use Registry.SetString(key,value) or any other Registry.Set* you're setting in fact this value on user profile: Sitecore.Context.User.Profile[key] = value; Clearing the cache will not help ...
user avatar
2 votes

How to change total items number in Draft and Awaiting Approval header in workbox

The place you are looking for is in the Sitecore.Client.dll as pointed out by Koen Heye. The class Sitecore.Shell.Applications.Workbox.WorkboxForm contains a method called DisplayStates which ...
user avatar
  • 16.5k
2 votes

Workbox RSS throws exception after upgrading to 8.1 Update 3

While building the RSS workbox, Sitecore uses direct SQL call to the database to get all the items in particular workflow state. Then for every item it tries to get workflow state and then it tries ...
user avatar
2 votes

pre select a default workflow on the workbox

The information which workflows are preselected is stored in user profile. Below is the code of a sample admin page which you can use to set a workflow to be selected when that user opens Workbox. ...
user avatar
2 votes
Accepted

clean up draft items in workbox

You can gain access to the workbox items by using the WorkflowProvider. If you already know what is the workflow id, you can use the following to get the IWorkflow. This will allow you to access the ...
user avatar
1 vote

Async send mail method in WorkFlows Sitecore 9

Instead of creating your own sendmailasync maybe you can try using the built in sendmailasync function of sitecore? The function can be found inside the Sitecore.MainUtil class. Below is the code ...
user avatar
  • 175
1 vote
Accepted

Port number coming in workbox actions

I see the issue that you described. Actually the problem is in the Sitecore.Shell.Applications.Workbox.WorkboxForm class which represents the Workbox Form. There are two methods: /// <summary&...
user avatar
1 vote

Sitecore workbox compare is not showing shared fields on comparing two version

Sitecore Workbox uses Diff dialog to compare versions of an item. Save dialog is used in Translate mode in Content Editor. That's why it only shows Versioned fields. I totally agree that it should ...
user avatar
1 vote

Workbox - hide states that have zero items?

Sitecore Workbox is one of the oldest Sitecore Applications. It's an xml file (\sitecore\shell\Applications\Workbox\Workbox.xml) with code beside Sitecore.Shell.Applications.Workbox.WorkboxForm. It ...
user avatar
1 vote

pre select a default workflow on the workbox

If the user who is logging in have any items in his/her workbox, items will be auto populated. But if there are no items on the workbox for the user, you have to manually select the workflow for which ...
user avatar
  • 2,534
1 vote

Sitecore Ribbon Shortcuts

Created a generic class to handle any shortcuts: class ApplicationShortcuts : Command { public override void Execute(CommandContext context) { if (!string.IsNullOrEmpty(context....
user avatar
  • 83
1 vote

Viewing Workflow History in Workbox

Welcome to the wonderful world of Sitecore. You can learn something new everyday with it. You should be able to see the workflow as long as you have execute rights to the workflow steps. In the ...
user avatar
  • 695

Only top scored, non community-wiki answers of a minimum length are eligible