Skip to main content
Home

Search form

Menu

Search form

  • Overview
  • How To videos
  • Getting Started tutorials
  • Using SkyVault
  • Customizing
  • Programming
    • Integrating your application with SkyVault
    • Designing your application
    • Programming with CMIS
    • Programming with SkyVault services
    • Programming with Surf
    • Web Scripts
    • Scripting API
      • Root objects
      • ScriptNode Object API
        • childByNamePath
        • childrenByXPath
        • childFileFolders
        • getActiveWorkflows
        • isScriptContent
        • hasAspect
        • isSubType
        • Security API
        • Ownership API
        • Modifying and creating API
          • createFolder
          • createFile
          • createNode
          • addNode
          • removeNode
          • createAssociation
          • removeAssociation
          • remove
          • copy
          • move
          • addAspect
          • removeAspect
          • specializeType
          • revert
          • save
        • Check In/Check Out API
        • Versions API
        • Content API
        • ScriptContentData API
        • Transformation API
        • Thumbnail API
        • Tagging API
      • Search API
      • People API
      • Actions API
      • ScriptAction API
      • Logging API
      • Session API
      • Classification API
      • AVM API
      • WCM Web Projects
      • Utility methods
    • Services API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault Enterprise 4.0.2 » Programming » SkyVault API Reference » Repository JavaScript API » Scripting API » ScriptNode Object API » Modifying and creating API

    remove

    remove() this method deletes the node.

    Note: Any unsaved property changes will be lost when this method is called. To preserve property changes call save() first.

    Returns

    Returns true on success, or false otherwise.

    Example

    Any variable or references to the ScriptNode should be discarded. For example:
    mynode.remove();
    Parent topic: Modifying and creating API

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter