Move Validator

  0 rating
CMS;End users
3/22/2013 3:19:05 AM
4/17/2015 1:40:07 PM

About

The move validator is a tool that is used to verify items being copied, moved, and dragged within the Content Editor. It looks at the template of the item being moved and compares it against the insert options of the item it is being moved to. The tool comes with a settings item where the text and locations to where this functionality is applied can be managed.


If you have any issues with the Move Validator module, please report them to the Shared Source forum on SDN or email ‚Äčmovevalidator@velir.com.

Enjoy!
Velir Studios 

Documentation

Documentation
  • Documentation > Getting Started with Move Validator
    Getting Started with Move Validator

    Initial Configuration 

    The first configuration change that will need to be made is to add the following lines to the web.config file. Please add these entries above the execute command within the specified processors section, e.g. <uiCopyItems>:

    uiCopyItems:
      •<processor mode="on" type="MoveValidator.Library.CustomSitecore.Pipeline.CustomCopyItems, MoveValidator.Library" method="ConstrainMove" />

    uiDragItemTo:
      •<processor mode="on" type=" MoveValidator.Library.CustomSitecore.Pipeline.CustomDragItemTo, MoveValidator.Library" method="ConstrainDragTo" />

    uiMoveItmes:
      •<processor mode="on" type=" MoveValidator.Library.CustomSitecore.Pipeline.CustomMoveItems, MoveValidator.Library" method="ConstrainMove" />

    Then you will need to adjust the commands.config file found here ~/App_Config/Commands.config. Find the command for: item:pastefromclipboard. You want to replace it with the following command.

    <command name="item:pastefromclipboard" type="MoveValidator.Library.CustomSitecore.Commands.CustomPasteFromClipBoard,MoveValidator.Library" />

    Basic Usage

    By default all nodes underneath the Home node are validated by this tool. However, if you want to select specific top-level nodes to govern the trees to be validated, other nodes can be configured. To do so, you can manage the functionality from the Move Validator Settings item within Sitecore. The settings item can be found at the following location: /sitecore/system/Modules/Move Validator Settings.

    After you set your locations in the settings item the functionality will begin to work against those locations, verifying that the template of the item being inserted matches the insert options of the destination item. If you are logged in as the administrator, it will give you the option to override this.

    This functionality is applied to dragging, copying, moving, and using the copy to and move to functionality within the Content Editor.

    0
Back
Release notes
The module was added 23-03-2011
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File