Has anyone been able to create a custom command that can be performed against multiple selected objects? I created a custom command that would set the edsvaProtectFromDeletion attribute to 'TRUE', but this command only appears when a single objects is selected. I tried to modify the edsaWICommands attribute on the edsWICustomizationSettings object, in an attempt to make my custom command work like the 'Delete' task, when multiple items are selected. The settings I found on 'Delete' command looked promising, but they didn't work:
<Setting Name="Resources.ForMulti.Title" Value="WIS_TITLE" />
<Setting Name="Resources.ForMulti.ForAllMsg" Value="WIS_COMMAND_APPLY_TO_ALL" />
<Setting Name="Resources.ForMulti.ErrorForAllMsg" Value="WIS_COMMAND_ERROR_APPLY_TO_ALL" />
<Setting Name="IsBatchOperationOnSearchResults" Value="True" />
I believe you might have to create a custom handler to process the changes for multiple objects, but I am not sure this is possible. When I look at the delete command in the edsaWICommands attribute, the entry contained and additional entry for 'ServerExecutor'.
<Setting Name="ClientExecutor" Value="ActiveRoles.Web.AjaxControls.Cmd.DeleteExec" />
<Setting Name="ServerExecutor" Value="ActiveRoles.Web.Application.CommandHandlers.BatchCommand.DeleteExecutor, ActiveRoles.Web.Application" />