Skip to main content
Home

Search form

Menu

Search form

  • Overview
  • How To videos
  • Getting Started with SkyVault
  • Using SkyVault
  • Customizing
  • Programming
    • Integrating your application with SkyVault
    • Designing your application
    • Programming with CMIS
    • Programming with the repository
    • Programming with SkyVault services
    • Programming with Surf
    • Web Scripts
    • Root-scoped objects
      • context
      • user
      • content
      • page
      • template
      • config
      • theme
      • instance
      • sitedata
      • remote
      • locale
      • htmlid
      • url
      • head
      • app
        • getContext
        • include
      • msg
    • Return types
    • Rendering objects
  • Copyright
  • Disclaimer
  • You are here

    SkyVault Enterprise 4.1.10 » Programming » SkyVault API Reference » Surf Platform API reference » Root-scoped objects » app

    include

    include(String relativePath) - performs a server-side include of a web asset.

    Parameters

    relativePath
    A string representing the relative path.

    Returns

    The result string is returned. Valid paths are, for example:
    /a/b/c.gif
    /images/test.jpg
    
    Parent topic: app

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