Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault
  • SkyVault 2.0 overview
  • SkyVault 2.0 video tutorials
  • Getting Started guides
  • Using SkyVault
  • Admin QuickStart
  • For Developers
    • Customizing Explorer and Share
    • Developing Applications and Extensions
      • Designing your application
      • SkyVault Repository
      • SkyVault Services
      • SkyVault Integration
      • Web Scripts
      • SkyVault Extensions
      • Share extensions
      • Maven SkyVault SDK
      • Programming with Surf
      • Content modeling
      • SkyVault 2.0 API
      • Surf 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
  • SkyVault Public Java API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » For Developers » Developing Applications and Extensions » SkyVault API Reference » Surf Platform API reference » Surf 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