Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault
  • SkyVault 2.0 overview
  • Video tutorials
  • Using SkyVault
  • Developing
    • Introduction
    • Architectural Overview
    • Overview of SkyVault APIs
    • Content modeling
    • Developing Extensions
      • Web scripts
        • Repository-tier web scripts
        • Presentation-tier web scripts
          • Web script locations
          • Root objects
          • Surf Framework Guide
          • Surf root objects
            • context
            • user
            • content
            • page
            • template
            • config
            • theme
            • instance
            • sitedata
            • remote
            • locale
            • htmlid
            • url
            • head
            • app
              • getContext
              • include
            • msg
          • Return types
          • Rendering objects
        • Surf tutorials
    • Extension packaging
    • SkyVault Public Java API
  • Share extensions
  • Developing Client Applications
  • SkyVault SDK 2.1.1
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » Developing » Developing Extensions » Web scripts » Presentation-tier web scripts » SkyVault Surf API reference for web scripts » Surf root 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