Logo Smartsite Logo Smartsite
  • Smartsite Releases
  • Smartsite Manager
  • User Manual
  • Features & Modules
  • Install & Config
  • Advanced
  • SXML
Smartsite Documentatie > Smartsite Manager > Concepts > DataEditor > Implementation > OnBeforeDelete
Collapse image Expand image CollapseAll image ExpandAll image DropDown image DropDownHover image Copy image CopyHover image

OnBeforeDelete

Smartsite 7.7 - ...

The OnBeforeDelete method is invoked just before the selected records will be deleted.

You can use this function to validate if the delete operation should be allowed or implement your own delete logic and cancel the normal delete operation by returning DataEditorActionResultType.Cancel().

Notice that an Delete operation is invoked from a library context.

Smartsite Manager
  • Dashboard Apps
  • Concepts
    • The new Smartsite 7 Manager
    • Workflow Triggers
    • Assets
    • Smartsite 7 Manager improvements within 7.3 release
    • Custom content library
    • Smartsite 7 Manager improvements in 7.4 release
    • External Actions
    • DataEditor
      • DataEditor Library
      • DataEditor Xml
      • MetaType Xml
      • Library Configuration
      • Implementation
        • OnAfterLoad
        • OnBeforeSave
        • OnAfterSave
        • OnAfterPaste
        • OnBeforeConfirmDelete
        • OnBeforeDelete
        • OnAfterDelete
        • OnActionClosed
        • OnCustomButtonClicked
        • OnUpdateButtonState
        • OnRenderDetails
        • OnRenderRowDetails
      • Custom Validations
      • Generate DataEditor example
    • MgrScripts directory
    • Facets
    • Edit Item
    • Fine-grained dashboard app security
    • Content retainability
    • File type security
    • Password expiry policy
    • Cookie security
    • Template items
  • References
  • Knowledge Base | Smartsite 7 manager

Wat is Smartsite? www.smartsite.nl