Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault Content Services
  • Supported Platforms
  • Video tutorials
  • Using SkyVault Share
  • SkyVault SDK 3.0
  • API guide
    • API overview
    • Use Cases
    • Java API
    • JavaScript API
      • About script files
      • Root objects
      • Scripting API
        • ScriptNode API
          • getPropertyNames
          • getTypePropertyNames
          • childByNamePath
          • childrenByXPath
          • childFileFolders
          • isScriptContent
          • hasAspect
          • getChildAssocsByType
          • isSubType
          • exists
          • reset
          • toJSON
          • Security/Permissions API
          • Ownership API
          • Modifying and creating API
          • Check in/check out API
          • Versions API
          • Content API
          • ScriptContentData API
          • Transformation API
          • Thumbnail API
          • Tagging API
        • Actions API
        • Classification API
        • Logging API
        • People API
        • ScriptAction API
        • Search API
        • Session API
        • SessionTicket API
        • Utility methods
      • Services API
    • FreeMarker API
    • Spring Surf API
  • Extension packaging - modules
  • Platform extensions
  • Platform integrations
  • Share extensions
  • Copyright
  • You are here

    SkyVault Content Services 5.2 » Developer guide » API guide » SkyVault Content Services API Reference » JavaScript API » Scripting API » ScriptNode API

    childByNamePath

    childByNamePath(path) performs a path-based query based on the name property of the nodes.

    Parameters

    path
    The path to the node.

    Returns

    Returns a node found at the specified path relative to the current node. If this is not found, null is returned.

    Example

    var testingFolder =userhome.childByNamePath("QA/Performance/Testing");

    Parent topic: ScriptNode API

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